@types/invariant
TypeScript definitions for invariant
Last updated 3 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ gnpm install @types/invariant 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 2.2.35                                ...           latest (3 years ago)
  • 2.2.30                                ...           ts2.0 (5 years ago)
  • 2.2.30                                ...           ts2.1 (5 years ago)
  • 2.2.30                                ...           ts2.2 (5 years ago)
  • 2.2.30                                ...           ts2.3 (5 years ago)
  • 2.2.30                                ...           ts2.4 (5 years ago)
  • 2.2.30                                ...           ts2.5 (5 years ago)
  • 2.2.30                                ...           ts2.6 (5 years ago)
  • 2.2.30                                ...           ts2.7 (5 years ago)
  • 2.2.32                                ...           ts2.8 (5 years ago)
  • 2.2.32                                ...           ts2.9 (5 years ago)
  • 2.2.33                                ...           ts3.0 (5 years ago)
  • 2.2.34                                ...           ts3.1 (4 years ago)
  • 2.2.34                                ...           ts3.2 (4 years ago)
  • 2.2.34                                ...           ts3.3 (4 years ago)
  • 2.2.34                                ...           ts3.4 (4 years ago)
  • 2.2.34                                ...           ts3.5 (4 years ago)
  • 2.2.34                                ...           ts3.6 (4 years ago)
  • 2.2.35                                ...           ts3.7 (3 years ago)
  • 2.2.35                                ...           ts3.8 (3 years ago)
  • 2.2.35                                ...           ts3.9 (3 years ago)
  • 2.2.35                                ...           ts4.0 (3 years ago)
  • 2.2.35                                ...           ts4.1 (3 years ago)
  • 2.2.35                                ...           ts4.2 (3 years ago)
  • 2.2.35                                ...           ts4.3 (3 years ago)
  • 2.2.35                                ...           ts4.4 (3 years ago)
  • 2.2.35                                ...           ts4.5 (3 years ago)
  • 2.2.35                                ...           ts4.6 (3 years ago)
  • 2.2.35                                ...           ts4.7 (3 years ago)
  • 2.2.35                                ...           ts4.8 (3 years ago)
  • 2.2.35                                ...           ts4.9 (3 years ago)
  • 2.2.35                                ...           ts5.0 (3 years ago)
  • 2.2.35                                ...           ts5.1 (3 years ago)
  • 2.2.35                                ...           ts5.2 (3 years ago)

18 Versions

  • 2.2.35                                ...           3 years ago
  • 2.2.34                                ...           4 years ago
  • 2.2.33                                ...           5 years ago
  • 2.2.32                                ...           5 years ago
  • 2.2.31                                ...           5 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                                ...           9 years ago
  • 2.2.20-alpha                                ...           9 years ago
  • 2.2.15-alpha                                ...           9 years ago
  • 2.2.14-alpha                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |