Question · JavaScript and TypeScript course · Module 10: TypeScript in Practice
Declaration Files (.d.ts)
What do .d.ts files contain in TypeScript?
Answer options
- JavaScript code compiled from TypeScript
- Only type information, without implementation
- Unit tests for TypeScript modules
- TypeScript compiler configuration files
You can check the correct answer by solving this task in the CodeWorlds game.