Skip to content

Commit

Permalink
Remove React reference
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrodurek committed May 5, 2022
1 parent f607081 commit 0db824f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ts4.1/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export interface Resources {}
* nsSeparator: ':';
* keySeparator: '.';
* jsonFormat: 'v4';
* allowObjectInHTMLChildren: false;
* resources: {
* custom: {
* foo: 'foo';
Expand Down Expand Up @@ -103,7 +104,7 @@ type ObjectOrNever = TypeOptions['allowObjectInHTMLChildren'] extends true
: never;
declare module 'react' {
interface HTMLAttributes {
children?: React.ReactNode | ObjectOrNever;
children?: ReactNode | ObjectOrNever;
}
}

Expand Down

0 comments on commit 0db824f

Please sign in to comment.