JSPM

  • Created
  • Published
  • Downloads 210
  • Score
    100M100P100Q89844F
  • License MPL-2.0

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

    A collection of useful TypeScript type helpers.

    Installation

    yarn add -D @alwatr/type-helper

    Then import the type helpers to one of your file

    import type {} from '@alwatr/type-helper';

    Usage Example

    const obj: JSONObject = {
      foo: 'bar',
      baz: {
        qux: 1,
        arr: [1, 2, 3],
      },
      qux: true,
    };

    Read the source code for more details.

    Sponsors

    The following companies, organizations, and individuals support Nanolib ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.

    Contributing

    Contributions are welcome! Please read our contribution guidelines before submitting a pull request.