npm.io
0.10.0 • Published 3 weeks ago

@dxos/typings

Licence
FSL-1.1-Apache-2.0
Version
0.10.0
Deps
0
Size
83 kB
Vulns
0
Weekly
0
Stars
510

Typings

This is a staging area for Typescript definitions that are either not available from the third-space packages directly or from Definitely Typed.

Usage

  • Each package must include @dxos/typings in the types section of its tsconfig.json file.
  • The workspace global package.json contains a reference to @dxos/typings so that all projects include it in their devDependencies.

Creating Typings

  • Create shared typings here as a potential staging ground for Definitely Typed.
  • Keep one-off typings in the local repo in a ./src/typings.d.ts.
  • Be careful to include required imports inside each module definition.