Pick me upTeam Candidate: WebXgood first issue
Repository-Metriken
- Stars
- (271 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Why?
Declaration files create ambient types, which appear in a global namespace across the project. We think it's preferable to avoid adding types to a global scope, and instead prefer to import them as needed.
How?
Migrate the types in the index.d.ts1 file into normal .ts files, and import them as needed: