I am building a react library in typescript and i want to provide consumers of this library a typescript definition file.
How do i make sure the typescript definition file is always correct an matching the js code?
Or if my components are written in typescript is there a way to generate a single d.ts file from all the generated d.ts files the compiler generated for me?