Hello there! Using this package in a TypeScript project gives the following compilation error:
node_modules/youtrack-rest-client/dist/entities/base.d.ts:2:32 - error TS7016: Could not find a declaration file for module 'request-promise'. '<...>/node_modules/request-promise/lib/rp.js' implicitly has an 'any' type.
Try `npm install @types/request-promise` if it exists or add a new declaration (.d.ts) file containing `declare module 'request-promise';`
2 import { RequestPromise } from "request-promise";
Hello there! Using this package in a TypeScript project gives the following compilation error:
@types/request-promise
should be probably included in the dependencies instead of devDependencies. https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html