Skip to content

Commit 2712cb5

Browse files
authored
fix(types): correct eslint directive for no-unsafe-declaration-merging (#4852)
1 parent 2e2b239 commit 2712cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare namespace preact {
2727
getDerivedStateFromError?(error: any): Partial<S> | null;
2828
}
2929

30-
// eslint-disablex-next-line @typescript-eslint/no-unsafe-declaration-merging
30+
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
3131
export interface Component<P = {}, S = {}> {
3232
componentWillMount?(): void;
3333
componentDidMount?(): void;

0 commit comments

Comments
 (0)