beginner35 minby DevFox

Types for packages: @types and the types setting

Install pluralize, a package that brings no description, and meet the check’s TS7016. Learn what a .d.ts description is, give TypeScript one from @types, tell from the TS and DT icons on npmjs.com whether a package needs it, and see why the check says --types node but never --types pluralize.

  • TypeScript
  • Fundamentals
Types for packages: `@types` and the `types` setting. Read this lesson at .