diff --git a/types/poi/index.d.ts b/types/poi/index.d.ts index 6fc0e3b536..7fa8c71e23 100644 --- a/types/poi/index.d.ts +++ b/types/poi/index.d.ts @@ -187,6 +187,7 @@ export class Poi { cli: CAC; + /** The current running command */ command: CAC["command"]; config: Config; @@ -197,6 +198,7 @@ export class Poi { constructor(argv?: string[]); + /** Check if a package is included in the `dependencies` or `devDependencies` field your `package.json` */ hasDependency(name: string): boolean; hasPlugin(name: string): boolean;