2.2.37 • Published 2 years ago

@types/invariant v2.2.37

Weekly downloads
909,626
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/invariant

Summary

This package contains type definitions for invariant (https://github.com/zertosh/invariant).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/invariant.

index.d.ts

// Type definitions for invariant 2.2
// Project: https://github.com/zertosh/invariant
// Definitions by: MichaelBennett <https://github.com/bennett000>
//                 dtinth <https://github.com/dtinth>
//                 Turadg Aleahmad <https://github.com/turadg>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare let invariant: invariant.InvariantStatic;

export = invariant;
export as namespace invariant;

declare namespace invariant {
    interface InvariantStatic {
        (testValue: false, format: string, ...extra: any[]): never;
        (testValue: any, format: string, ...extra: any[]): asserts testValue;
    }
}

Additional Details

  • Last updated: Thu, 26 Aug 2021 01:01:28 GMT
  • Dependencies: none
  • Global values: invariant

Credits

These definitions were written by MichaelBennett, dtinth, and Turadg Aleahmad.

@tetherless-world/twxplore-base-lib@paradicms/basepock-meta-statetest-react-bootstrap-abcdtest-react-bootstrap-efgh@everything-registry/sub-chunk-950tm-ui-plugintaro-reanimatedtemporary-react-bootstrapxform-coretemme@convey/core@benchmarkdigital/bmd-react-bootstrapkhoros-react-bootstrapkyastejar-utilsstejar-distejar-translatetyped-dvatypeskill-typer-kanso-fork@appsparkler/rbs4@bfly/ui@cerebras/ui@cojad/bottenderunity-fluent-libraryunity-fluent-library-azureunity-fluent-library-demounity-fluent-library-demo-demotrv-expouniforms-react18@haphizi/hahahaxx@haphizi/react-dev-2.0@haphizi/test@haphizi/test1@haphizi/test2@fjedi/rest-api@fredfogerty/js-cli@govtechsg/sgds-govtech-react@govtechsg/sgds-react@mutajs/shared@mutadev/shared@nemethricsi/reach-ui@factro/dnd-core@elliemae/app-react-dependencies@merklemanufactory/react-native-reanimated@mittwald/api-code-generator@kie-tools/uniforms-patternfly@kfox/expo@js/web-utils@hotmig/cli@dva-rn/dva-rn@omnic/widget-locations@oelasolutions/react-native-reanimated-v8@schemafire/core@rexd/xform@ssut/twitch-js@onekeyfe/react-native-reanimated@nozbe/react-native-reanimated@oqton/design-system@sliv/app-to-axios-client@roomservice/benchpressmrm-uimycarnet-ui-componentolive-react-myoneuireact-myoneuireact-bootstrap-v5react-bootstrap-new-publishrcre-corereact-dnd-touch-backend-cjsreact-native-reanimated-newreact-oneui-engineneeharyxpipeline-designerpose-coreredux-resource-factoryreact-remote-renderreact-promiseportalreact-stickreact-tapable-editorreact-reflexiblereact-transition-replacehoduxhairdresserhacker-uihaphizi-sblibraryintergationmakelilylogrocket-mobxlabrador-components-clikomemenreikimenreiki2@wavesenterprise/contract-core@window-splitter/state@typeskill/typer@trimbleinc/modus-react-bootstrap@ubidy_devs/ubidy-uikit@the-gear/graphql-scalars@themesberg/react-bootstrap@yuzuswapjs/clmm-sdk
2.2.37

2 years ago

2.2.36

2 years ago

2.2.35

4 years ago

2.2.34

5 years ago

2.2.33

5 years ago

2.2.32

5 years ago

2.2.31

5 years ago

2.2.30

6 years ago

2.2.29

8 years ago

2.2.28

9 years ago

2.2.27

9 years ago

2.2.26-alpha

9 years ago

2.2.25-alpha

9 years ago

2.2.24-alpha

9 years ago

2.2.23-alpha

9 years ago

2.2.22-alpha

9 years ago

2.2.21-alpha

9 years ago

2.2.20-alpha

9 years ago

2.2.15-alpha

9 years ago

2.2.14-alpha

9 years ago