I believe it is feasible to include type declarations in any typescript file like '.d.ts', '.ts', or '.tsx'.
However, I have observed that the type declaration files for most npm packages are .d.ts files.
Is this a requirement?
In my current scenario, I am only looking to have my npm package utilized by TypeScript projects, so I release my package without compilation (all .ts files).
I am uncertain if this will cause any issues?