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
Currently, we distribute the TypeScript type definition (.d.ts) files separately for each module through our releases. Though devs can use these builds for using essentia.js on a TypeScript project like this example, adding an index.d.ts type definition file for index.js can make it easy for developers to integrate into a TS project as similar as in JS. This was mentioned in #46
It would be also nice to have a TypeScript project as an example in the repository for reference.
How?
Add index.d.ts file and specify it inside the package.json file
albincorreya
changed the title
Add TypeScript type definition file for index,js (npm main entrypoint) and add typescript project example
Add TypeScript type definition file for index.js and add a TS project example
Oct 7, 2021
Currently, we distribute the TypeScript type definition (
.d.ts
) files separately for each module through our releases. Though devs can use these builds for using essentia.js on a TypeScript project like this example, adding anindex.d.ts
type definition file for index.js can make it easy for developers to integrate into a TS project as similar as in JS. This was mentioned in #46It would be also nice to have a TypeScript project as an example in the repository for reference.
How?
index.d.ts
file and specify it inside the package.json fileThe text was updated successfully, but these errors were encountered: