Skip to content

Commit

Permalink
Fix typo in src/widgets/widget.ts (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
postsolar authored Feb 11, 2024
1 parent 16ca0fd commit e117758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export type BaseProps<Self, Props, Attr = unknown> = {
setup?: (self: Self) => void
} & BindableProps<CtorProps<Props & CommonProps<Attr>>>

type Requierd<T> = { [K in keyof T]-?: T[K] };
export interface Widget<Attr> extends Requierd<CommonProps<Attr>> {
type Required<T> = { [K in keyof T]-?: T[K] };
export interface Widget<Attr> extends Required<CommonProps<Attr>> {
hook<
Gobject extends GObject.Object,
>(
Expand Down

0 comments on commit e117758

Please sign in to comment.