nrkno / core-components

Accessible and lightweight Javascript components
https://static.nrk.no/core-components/latest/
MIT License
117 stars 10 forks source link

Add types declaration file to npm package #758

Closed Celsiusss closed 7 months ago

Celsiusss commented 11 months ago

I am using core-scroll in a React project with Typescript. The package does not have an associated Typescript declarations file, but type declarations do exist in the project.

Not sure on how the build and publishing process is, but consider adding a types entry to the package.json of the projects, as documented here.

skjalgepalg commented 7 months ago

NRK is no longer actively maintaining and developing Core-components.

We recommend looking into u-elements as a possible replacement.