Installation
npm install --save @types/identity-obj-proxy
Summary
This package contains type definitions for identity-obj-proxy (https://github.com/keyanzhang/identity-obj-proxy#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/identity-obj-proxy.
index.d.ts
type IdObj = {
readonly [Key: string]: string;
} & {
readonly __esModule: false;
};
/**
* An identity object using ES6 proxies. Useful for mocking webpack imports. For instance, you can
* tell Jest to mock this object as imported
* [CSS modules](https://github.com/css-modules/css-modules); then all your `className` lookups on
* the imported `styles` object will be returned as-is.
*/
declare const idObj: IdObj;
export = idObj;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Remco Haszing.