Could not find a declaration file for module 'list-react-files'
mozgbrasil opened this issue · 2 comments
mozgbrasil commented
Good afternoon
Hello my friend
I tried to use your library in react project and the error is being returned
Could not find a declaration file for module 'list-react-files'
See the project at
brunosana commented
Same Problem!
stifskere commented
Add a declaration for the library in your globals.d.ts
file if you don't have one create one in your src
folder
declare module 'list-react-files' {
function listReactFiles(cwd: string): Promise<Array<string>>
}