MAIF / izanami

Izanami is a centralized versatile feature flag solution, well suited for micro service architectures.
https://maif.github.io/izanami/
Apache License 2.0
189 stars 43 forks source link

Typescript missing declaration file #594

Closed kvalium closed 3 years ago

kvalium commented 3 years ago

When importing Izanami on a Typescript project

import Izanami from 'izanami-node';

the following error occurs :

Could not find a declaration file for module 'izanami-node'. './node_modules/izanami-node/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/izanami-node` if it exists or add a new declaration (.d.ts) file containing `declare module 'izanami-node';`

Could you please add the declaration file?

Thanks