DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
TypeScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
TypeScript
Before hand-writing a declaration file for a third-party JavaScript dependency, what should you check first?
A
Nothing — always hand-write your own regardless
B
Whether a maintained @types/ package for that dependency already exists (DefinitelyTyped covers many popular packages)
C
Whether the package has more than 1000 downloads
D
Whether the package is written in JavaScript or TypeScript
Check Answer