JSPM

  • Created
  • Published
  • Downloads 217
  • Score
    100M100P100Q89813F
  • License MIT

Collection of useful typescript type helpers.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@alwatr/type-helper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Typescript Type Helpers

    Collection of useful typescript type helpers.

    Installation

    yarn add @alwatr/type-helper

    Usage

    import type {JSONObject} from '@alwatr/type-helper';
    
    const obj: JSONObject = {
      foo: 'bar',
      baz: {
        qux: 1,
        arr: [1, 2, 3],
      },
      qux: true,
    };

    Read the source code for more details.