You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
import{Command,flags}from'@oclif/command'abstractclassAPextendsCommand{staticflags={help: flags.help({char: 'h'}),file: flags.string({description: 'File path',required: true,}),}asyncrun(){const{ flags }=this.parse()// It should work without class name so that it can be dynamicconsole.log(flags.file)}}exportdefaultAP
Base abstract child
Child class
But it shows error
Property 'file' does not exist on type 'unknown'.ts(2339)
The text was updated successfully, but these errors were encountered: