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
I may be doing something wrong here, however my declaration file for Utility interfaces and types does not include correctly when using dets.
Here is my declaration file which is referenced in the tsconfig.json (thus not imported by the typescript files using import keyword)
And these interfaces and types are not being imported into the dets out file when building (The .d.ts file is withing the --files parameter scope)
Here is my cli command:
dets src/index.ts --name @wave-frontend/wave-js --files src/**/*.ts --out dist/index.d.ts
The @types folder is located in the src folder so it should be picked up if I am not missing something
The text was updated successfully, but these errors were encountered:
wiresnchains
changed the title
Declaration import?
Dets does not import declaration files?
Sep 5, 2024
OK - I mean also in a d.ts you are supposed to export the things you want to use outside of it. The exception is that a d.ts file might contain module declarations.
To me it sounds like the d.ts might not have been sound (i.e., would it have worked in general?).
I may be doing something wrong here, however my declaration file for Utility interfaces and types does not include correctly when using dets.
Here is my declaration file which is referenced in the tsconfig.json (thus not imported by the typescript files using import keyword)
And these interfaces and types are not being imported into the dets out file when building (The .d.ts file is withing the --files parameter scope)
Here is my cli command:
The
@types
folder is located in the src folder so it should be picked up if I am not missing somethingThe text was updated successfully, but these errors were encountered: