Bump version to 4.0.0-beta and LKG

This commit is contained in:
TypeScript Bot
2020-06-23 04:52:03 +00:00
parent 9f70d498f2
commit edb72ea291
19 changed files with 6244 additions and 2797 deletions

10
lib/protocol.d.ts vendored
View File

@@ -156,6 +156,10 @@ declare namespace ts.server.protocol {
* Time spent updating the program graph, in milliseconds.
*/
updateGraphDurationMs?: number;
/**
* The time spent creating or updating the auto-import program, in milliseconds.
*/
createAutoImportProviderProgramDurationMs?: number;
}
/**
* Arguments for FileRequest messages.
@@ -1597,6 +1601,11 @@ declare namespace ts.server.protocol {
* and therefore may not be accurate.
*/
isFromUncheckedFile?: true;
/**
* If true, this completion was for an auto-import of a module not yet in the program, but listed
* in the project package.json.
*/
isPackageJsonImport?: true;
}
/**
* Additional completion entry details, available on demand
@@ -2445,6 +2454,7 @@ declare namespace ts.server.protocol {
readonly lazyConfiguredProjectsFromExternalProject?: boolean;
readonly providePrefixAndSuffixTextForRename?: boolean;
readonly allowRenameOfImportPath?: boolean;
readonly includePackageJsonAutoImports?: "exclude-dev" | "all" | "none";
}
interface CompilerOptions {
allowJs?: boolean;