Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 19, 2024
1 parent 4de2d69 commit 1cb7a5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/widgets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export type RenderBundle = {
div: string
}

export interface Ref {

Check warning on line 32 in src/widgets.ts

View workflow job for this annotation

GitHub Actions / build

Interface name `Ref` must match the RegExp: /^I[A-Z]/u
id: string
}

export interface DocumentChanged {

Check warning on line 36 in src/widgets.ts

View workflow job for this annotation

GitHub Actions / build

Interface name `DocumentChanged` must match the RegExp: /^I[A-Z]/u
event: 'jsevent'
kind: string
Expand All @@ -37,7 +41,7 @@ export interface DocumentChanged {
export interface ModelChanged extends DocumentChanged {

Check warning on line 41 in src/widgets.ts

View workflow job for this annotation

GitHub Actions / build

Interface name `ModelChanged` must match the RegExp: /^I[A-Z]/u
event: 'jsevent'
kind: 'ModelChanged'
id: string
model: Ref
new: unknown
attr: string
}
Expand Down

0 comments on commit 1cb7a5c

Please sign in to comment.