TypeScript tutorialLesson 20Free preview
TS Definitely Typed
This lesson is part of TypeScript · All levels
Summary
Definitely Typed is a community repository containing type declarations for JavaScript libraries that do not support TypeScript. The type is available via the @types/ package and installed as a development dependence. If the official type is not available, you can write the file yourself. (d.ts)
Key points
- Definitely Typed keeps the community type declaration
- Packages are available with the @types/name scheme
- File.d.ts describes type without implementation
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.