diff --git a/types/list.js/index.d.ts b/types/list.js/index.d.ts index 2c169540f6b36c..ee4f58dc5e97eb 100644 --- a/types/list.js/index.d.ts +++ b/types/list.js/index.d.ts @@ -74,6 +74,7 @@ declare namespace List { type Event = | "updated" + | "parseComplete" | "filterStart" | "filterComplete" | "searchStart" diff --git a/types/list.js/list.js-tests.ts b/types/list.js/list.js-tests.ts index 02f190735ae950..f405247d3b598a 100644 --- a/types/list.js/list.js-tests.ts +++ b/types/list.js/list.js-tests.ts @@ -60,6 +60,7 @@ list.on("searchComplete", list => {}); list.on("sortStart", list => {}); list.on("sortComplete", list => {}); list.on("updated", list => {}).clear(); +list.on("parseComplete", list => {}); // @ts-expect-error list.on("invalid", list => {}); diff --git a/types/vscode/index.d.ts b/types/vscode/index.d.ts index 939771aa5e8691..152f9dd3f9af24 100644 --- a/types/vscode/index.d.ts +++ b/types/vscode/index.d.ts @@ -4,7 +4,7 @@ *--------------------------------------------------------------------------------------------*/ /** - * Type Definition for Visual Studio Code 1.118 Extension API + * Type Definition for Visual Studio Code 1.120 Extension API * See https://code.visualstudio.com/api for more information */ @@ -12254,6 +12254,8 @@ declare module 'vscode' { /** * Get the children of `element` or root if no element is passed. * + * *Note:* The result is not mutated by the API consumer; readonly arrays may be cast to `T[]`. + * * @param element The element from which the provider gets children. Can be `undefined`. * @returns Children of `element` or root if no element is passed. */ diff --git a/types/vscode/package.json b/types/vscode/package.json index d9c8e51265acd1..abf06559331a4d 100644 --- a/types/vscode/package.json +++ b/types/vscode/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/vscode", - "version": "1.118.9999", + "version": "1.120.9999", "nonNpm": "conflict", "nonNpmDescription": "TypeScript definitions for the Visual Studio Code Extension API", "projects": [