Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@clearblade/code-service-types

ClearBlade1kISC3.12.8TypeScript support: included

TypeScript declarations for the ClearBlade Code Service engine

ClearBlade, code, service, types

readme

code-service-types

TypeScript type declarations for the ClearBlade library that runs inside the ClearBlade code service engine.

Installation

npm i --save-dev @clearblade/code-service-types

Configuration

Add an entry to the files compiler option in tsconfig.json.

{
  "files": [
    "node_modules/@clearblade/code-service-types/types/globals.d.ts",
    "node_modules/@clearblade/code-service-types/types/index.d.ts"
  ]
}

Motivation

Going through the DefinitelyTyped PR process has proven to be difficult for our team as the ClearBlade library is being constantly updated. To provide up-to-date type declarations, we have temporarily moved outside of DefinitelyTyped. Once changes to the library become less frequent, we will move back to the standard @types declaration system.