Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Fix Adpater is undefined error when using TypeScript (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaindesve committed Apr 6, 2021
1 parent a6babe3 commit 5cce34e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { EnzymeAdapter } from 'enzyme';

declare module "@wojtekmaj/enzyme-adapter-react-17" {
export default class ReactSeventeenAdapter extends EnzymeAdapter {
constructor();
}
declare class ReactSeventeenAdapter extends EnzymeAdapter {
}

declare namespace ReactSeventeenAdapter {
}

export = ReactSeventeenAdapter;

0 comments on commit 5cce34e

Please sign in to comment.