ts-cliche

A collection of cliché types for Typescript

Usage no npm install needed!

<script type="module">
  import tsCliche from 'https://cdn.skypack.dev/ts-cliche';
</script>

README

TS-CLICHE (alpha)

Let us the onus of creating and recreating cliché types!

Table of Contents

Installation

yarn add -D ts-cliche

Usage

Use this configuration in your tsconfig.json:

{
    "compilerOptions": {
        "typeRoots": [
            "node_modules/ts-cliche"
        ],

        "types": [
            "ts-cliche/something"
        ],
    }
}

Replace ts-cliche/something with any declaration files within this package. For example, ts-cliche/callback.

List

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Note

This package is in alpha development. It's unstable and insecure for all purposes beyond testing.