0.2.0 • Published 4 years ago

@socheatsok78/quick-bus-types v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@socheatsok78/quick-bus-types

Install

npm i --save-dev @socheatsok78/quick-bus-types
# or
yarn add -D @socheatsok78/quick-bus-types

Usage

Add ./node_modules/@socheatsok78 to tsconfig.json, compilerOptions.typeRoots list.

{
  "compilerOptions": {
    /* List of folders to include type definitions from. */
    "typeRoots": [
      "./node_modules/@socheatsok78"
    ]
}

or within your code

/// <reference types="@socheatsok78/quick-bus-types" />

import Bus from '@condenast/quick-bus'
const bus = new Bus()