2.2.37 • Published 6 months ago

@types/invariant v2.2.37

Weekly downloads
909,626
License
MIT
Repository
github
Last release
6 months 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-pluginstejar-distejar-translatestejar-utilsreact-native-reanimated-newrcre-corereact-oneui-enginereact-promiseportalreact-remote-renderreact-reflexiblereact-myoneuipose-corereact-bootstrap-v5react-dnd-touch-backend-cjsredux-resource-factoryreact-bootstrap-new-publishreact-stickreact-transition-replacereact-tapable-editortaro-reanimatedtemmetemporary-react-bootstrapexpo-server-sdk-bug-fixexpo-torqe-commerce-cmtseasy-css-transform-builderdrip-form-validatorfl-geditorfe-builder-cliflowengine-pipeline-designermrm-uimycarnet-ui-componentlogrocket-mobxkyalibraryintergationlabrador-components-clihoduxneeharyxmakelilymenreiki2menreikihacker-uikomehairdresserhaphizi-sbkhoros-react-bootstrapolive-react-myoneuipipeline-designertrv-expo@haphizi/hahahaxx@haphizi/react-dev-2.0@haphizi/test@haphizi/test1@haphizi/test2@govtechsg/sgds-govtech-react@govtechsg/sgds-react@hotmig/cli@fredfogerty/js-clidnd-core-cjsxform-core@kfox/expo@kie-tools/uniforms-patternfly@js/web-utilsunity-fluent-libraryunity-fluent-library-azureunity-fluent-library-demounity-fluent-library-demo-demotyped-dvatypeskill-typer-kanso-forkclk-bsclk-bs-2@nozbe/react-native-reanimateddoloremaddooka@nemethricsi/reach-ui@merklemanufactory/react-native-reanimated@mittwald/api-code-generator@mutadev/shared@mutajs/shared@oqton/design-system@omnic/widget-locations@oelasolutions/react-native-reanimated-v8@onekeyfe/react-native-reanimated@elliemae/app-react-dependencies@rexd/xform@roomservice/benchpress@dva-rn/dva-rn@trimbleinc/modus-react-bootstrap@ssut/twitch-js@ubidy_devs/ubidy-uikit@typeskill/typer@sliv/app-to-axios-client@skedo/meta@fjedi/rest-api
2.2.37

6 months ago

2.2.36

6 months ago

2.2.35

3 years ago

2.2.34

4 years ago

2.2.33

4 years ago

2.2.32

4 years ago

2.2.31

4 years ago

2.2.30

5 years ago

2.2.29

7 years ago

2.2.28

8 years ago

2.2.27

8 years ago

2.2.26-alpha

8 years ago

2.2.25-alpha

8 years ago

2.2.24-alpha

8 years ago

2.2.23-alpha

8 years ago

2.2.22-alpha

8 years ago

2.2.21-alpha

8 years ago

2.2.20-alpha

8 years ago

2.2.15-alpha

8 years ago

2.2.14-alpha

8 years ago