Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/es2020.symbol.wellknown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ interface RegExp {
* containing the results of that search.
* @param string A string to search within.
*/
[Symbol.matchAll](str: string): RegExpStringIterator<RegExpExecArray>;
[Symbol.matchAll](string: string): RegExpStringIterator<RegExpExecArray>;
}
4 changes: 2 additions & 2 deletions src/lib/scripthost.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ declare var WScript: {

/**
* Creates a COM object.
* @param strProgiID
* @param strProgID The programmatic identifier (ProgID) of the COM object to create.
* @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.
*/
CreateObject(strProgID: string, strPrefix?: string): any;
Expand All @@ -186,7 +186,7 @@ declare var WScript: {
* Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.
* @param strPathname Fully qualified path to the file containing the object persisted to disk.
* For objects in memory, pass a zero-length string.
* @param strProgID
* @param strProgID The programmatic identifier (ProgID) of the object to retrieve or create.
* @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.
*/
GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/regexMatchAll-esnext.types
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const matches = /\w/g[Symbol.matchAll]("matchAll");
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/\w/g[Symbol.matchAll]("matchAll") : RegExpStringIterator<RegExpExecArray>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/\w/g[Symbol.matchAll] : (str: string) => RegExpStringIterator<RegExpExecArray>
> : ^ ^^ ^^^^^
>/\w/g[Symbol.matchAll] : (string: string) => RegExpStringIterator<RegExpExecArray>
> : ^ ^^ ^^^^^
>/\w/g : RegExp
> : ^^^^^^
>Symbol.matchAll : unique symbol
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/regexMatchAll.types
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const matches = /\w/g[Symbol.matchAll]("matchAll");
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/\w/g[Symbol.matchAll]("matchAll") : RegExpStringIterator<RegExpExecArray>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/\w/g[Symbol.matchAll] : (str: string) => RegExpStringIterator<RegExpExecArray>
> : ^ ^^ ^^^^^
>/\w/g[Symbol.matchAll] : (string: string) => RegExpStringIterator<RegExpExecArray>
> : ^ ^^ ^^^^^
>/\w/g : RegExp
> : ^^^^^^
>Symbol.matchAll : unique symbol
Expand Down