link-module-alias icon indicating copy to clipboard operation
link-module-alias copied to clipboard

Could not find a declaration file for module

Open casamia918 opened this issue 7 years ago • 1 comments

Hi. Thank you for create this library.

While I use this, my vscode show this warning message at the require statement. Currently, I'm not using typescript, only use es2015.

[ts] Could not find a declaration file for module '@lib/moduleName'. '/Users/module/path.js' implicitly has an 'any' type.

Do you know how to fix this problem? Thanks.

screen shot 2018-07-24 at 9 39 55 am

casamia918 avatar Jul 24 '18 00:07 casamia918

@casamia918 that is a VSCode warning. This library doesn't supply a typescript declaration file so just ignore that.

OmgImAlexis avatar Jan 11 '19 05:01 OmgImAlexis