Types

ESM compatible stand-alone typings are available as of squared 5.5.

Installation

npm i squared-types

Note

Dual installations with local typings are not supported such as within the squared repository.

tsconfig.json

Required
{
  "compilerOptions": {
    "target": "es2022",
    "module": "es6",
    "lib": ["dom"],
    "typeRoots": ["node_modules/squared-types"]
  }
}