@types/commercetools__enzyme-extensions
TypeScript icon, indicating that this package has built-in type declarations

4.0.3 • Public • Published

Installation

npm install --save @types/commercetools__enzyme-extensions

Summary

This package contains type definitions for @commercetools/enzyme-extensions (https://github.com/commercetools/enzyme-extensions).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/commercetools__enzyme-extensions.

index.d.ts

import * as enzyme from "enzyme";

declare module "enzyme" {
    interface UntilOptions {
        maxDepth: number;
    }
    interface ShallowWrapper<P = {}> {
        drill(expander: (props: any) => ShallowWrapper): ShallowWrapper<P>;
        until(selector: EnzymeSelector, options?: UntilOptions): ShallowWrapper<P>;
    }
}

declare function monkeyPatchShallowWrapper(s: typeof enzyme.ShallowWrapper): void;

export = monkeyPatchShallowWrapper;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/enzyme

Credits

These definitions were written by Christian Rackerseder.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/commercetools__enzyme-extensions

Weekly Downloads

16

Version

4.0.3

License

MIT

Unpacked Size

3.75 kB

Total Files

5

Last publish

Collaborators

  • types