SICKAG/collage

Typings could not be found

Closed this issue · 4 comments

svelue commented

When importing collage with typescript the index.d.ts could not be found due to an error in the package.json.

Could not find a declaration file for module '@collage/core'. 'c:/.../node_modules/@collage/core/dist/collage.es.js' implicitly has an 'any' type.
There are types at 'c:/.../node_modules/@collage/core/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@collage/core' library may need to update its package.json or typings.

svelue commented

I created a pull request for this one.
#33

Hi @svelue,

thank you for your contribution, I will test it as soon as possible.

Hi @svelue,

I reviewed, tested and merged your Pull Request. It will be part of our next release.
Before we publish the next release, we need to straighten some ts declarations.
I will keep this issue open as long as the work is ongoing.