Skip to content

Commit

Permalink
types: fix return type of WebidlUtil.Type (#3685)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Oct 8, 2024
1 parent 1e32c06 commit 7b3f18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/webidl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ interface WebidlUtil {
/**
* @see https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values
*/
Type (object: unknown): WebIDLTypes
Type (object: unknown): WebIDLTypes[keyof WebIDLTypes]

TypeValueToString (o: unknown):
| 'Undefined'
Expand Down

0 comments on commit 7b3f18a

Please sign in to comment.