Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#59557 [react-blessed] Fix TS 4.7 compat is…
Browse files Browse the repository at this point in the history
…sues by @eps1lon
  • Loading branch information
eps1lon authored Mar 29, 2022
1 parent 06be14d commit e432100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/react-blessed/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ type LayoutProps<T> = T extends LayoutElement ? Partial<Blessed.Widgets.LayoutOp
// 'blessed' doesn't exist in a DOM so it probably doesn't make sense to allow any property
type FilterOptions<T extends Record<any, any>> = Partial<Omit<KnownKeys<T>, "style" | "children">>;

type ModifiedBlessedOptions<T> = FilterOptions<T> & { children?: React.ReactNode; style?: ElementStyle } & EventProps;
type ModifiedBlessedOptions<T extends Record<any, any>> = FilterOptions<T> & { children?: React.ReactNode; style?: ElementStyle } & EventProps;

/* REACT-BLESSED JSX ********************************************************/

Expand Down

0 comments on commit e432100

Please sign in to comment.