0.0.10 • Published 2 years ago
@fensak-io/senc-types v0.0.10
senc-types contains the global type definitions for senc scripts.
Usage
npm add --save-dev @fensak-io/senc-typesIn your tsconfig.json, you must either add @fensak-io to the typeRoots setting, or @fensak-io/senc-types to the
types option so that the global declarations are included in your package.
with typeRoots
{
  // ...
  "compilerOptions: {
    // ...
    "typeRoots: [
      "./node_modules/@types",
      "./node_modules/@fensak-io"
    ]
    // ...
  }
  // ...
}with types
{
  // ...
  "compilerOptions: {
    // ...
    "types: ["@fensak-io/senc-types"]
    // ...
  }
  // ...
}