Running tsc --out output.js --declaration input.ts
returns output.js and output.d.ts as expected. The d.ts file contains JavaScript instead of type declarations.
This procedure used to work 9 days ago, and I haven't updated TypeScript since.
Any ideas on what might be going on?