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
node_modules/yaml-lint/dist/index.d.ts:2:38 - error TS7016: Could not find a declaration file for module 'js-yaml'. '/home/regseb/testcase/node_modules/js-yaml/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/js-yaml` if it exists or add a new declaration (.d.ts) file containing `declare module 'js-yaml';`
2 readonly FAILSAFE_SCHEMA: import("js-yaml").Schema;
~~~~~~~~~
node_modules/yaml-lint/dist/index.d.ts:3:34 - error TS7016: Could not find a declaration file for module 'js-yaml'. '/home/regseb/testcase/node_modules/js-yaml/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/js-yaml` if it exists or add a new declaration (.d.ts) file containing `declare module 'js-yaml';`
3 readonly JSON_SCHEMA: import("js-yaml").Schema;
~~~~~~~~~
node_modules/yaml-lint/dist/index.d.ts:4:34 - error TS7016: Could not find a declaration file for module 'js-yaml'. '/home/regseb/testcase/node_modules/js-yaml/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/js-yaml` if it exists or add a new declaration (.d.ts) file containing `declare module 'js-yaml';`
4 readonly CORE_SCHEMA: import("js-yaml").Schema;
~~~~~~~~~
node_modules/yaml-lint/dist/index.d.ts:5:37 - error TS7016: Could not find a declaration file for module 'js-yaml'. '/home/regseb/testcase/node_modules/js-yaml/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/js-yaml` if it exists or add a new declaration (.d.ts) file containing `declare module 'js-yaml';`
5 readonly DEFAULT_SCHEMA: import("js-yaml").Schema;
~~~~~~~~~
Found 4 errors in the same file, starting at: node_modules/yaml-lint/dist/index.d.ts:2
The text was updated successfully, but these errors were encountered:
Description
YAML Lint imports types from
js-yaml
, but this package doesn't export types. The types are in the@types/js-yaml
package.[email protected]/dist/index.d.ts
:To reproduce
Files
Commands
Results
The text was updated successfully, but these errors were encountered: