Skip to content

microsoft/tslib

Repository files navigation

Issue Stats Issue Stats

Runtime

This is a runtime library for TypeScript that contains all of the TypeScript helper functions.

Installing

For the latest stable version:

npm install tslib

Usage

Set the importHelpers compiler option on the command line:

tsc --importHelpers file.ts

or in your tsconfig.json:

{
    "compilerOptions": {
        "importHelpers": true
    }
}

Contribute

There are many ways to contribute to TypeScript.

Documentation