Skip to content

Commit

Permalink
Fix typings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jansivans committed Mar 11, 2024
1 parent df1629b commit 59bb205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/types/src/types-template.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ declare global {
emit(eventName: string, data: any, groupId?: string): any;
} & EventHubExtend;
Browser: {
[command: string]: (options?: any, elementRefs?: (string | BrowserCommandElementRefOptions)[]) => Promise<any>
[command: string]: (options?: any, elementRefs?: Array<string | BrowserCommandElementRefOptions>) => Promise<any>
} & BrowserExtend;
Server: {
[command: string]: (options?: any) => Promise<any>
Expand Down
2 changes: 1 addition & 1 deletion packages/types/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5337,7 +5337,7 @@ declare global {
emit(eventName: string, data: any, groupId?: string): any;
} & EventHubExtend;
Browser: {
[command: string]: (options?: any, elementRefs?: (string | BrowserCommandElementRefOptions)[]) => Promise<any>
[command: string]: (options?: any, elementRefs?: Array<string | BrowserCommandElementRefOptions>) => Promise<any>
} & BrowserExtend;
Server: {
[command: string]: (options?: any) => Promise<any>
Expand Down

0 comments on commit 59bb205

Please sign in to comment.