Open ChristianMurphy opened 4 years ago
currently blocked by
src/scripts/get-all-files.ts:5:7 - error TS4023: Exported variable 'getAllFiles' has or is using name 'EntryInfo' from external module "/home/christian/Projects/OpenSource/json-schema-validators-typscript-interfaces/node_modules/readdirp/index" but cannot be named.
5 const getAllFiles = (rootPath: string): ReaddirReturn => {
~~~~~~~~~~~
Found 1 error.
Which looks related to https://github.com/gitsome/json-schema-validators-typscript-interfaces/pull/13#discussion_r328910375
Opened upstream PR https://github.com/paulmillr/readdirp/pull/104
Add
--declarations
option totsc
and addtypes
attribute to the package.json. https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html