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
+22
View File
@@ -2538,9 +2538,19 @@ declare namespace ts {
}
export interface GenericType extends InterfaceType, TypeReference {
}
export enum ElementFlags {
Required = 1,
Optional = 2,
Rest = 4,
Variadic = 8,
Variable = 12
}
export interface TupleType extends GenericType {
elementFlags: readonly ElementFlags[];
minLength: number;
fixedLength: number;
hasRestElement: boolean;
combinedFlags: ElementFlags;
readonly: boolean;
labeledElementDeclarations?: readonly (NamedTupleMember | ParameterDeclaration)[];
}
@@ -3789,6 +3799,8 @@ declare namespace ts {
readonly importModuleSpecifierEnding?: "auto" | "minimal" | "index" | "js";
readonly allowTextChangesInNewFiles?: boolean;
readonly providePrefixAndSuffixTextForRename?: boolean;
readonly includePackageJsonAutoImports?: "exclude-dev" | "all" | "none";
readonly provideRefactorNotApplicableReason?: boolean;
}
/** Represents a bigint literal value without requiring bigint support */
export interface PseudoBigInt {
@@ -5278,6 +5290,10 @@ declare namespace ts {
fileName: Path;
packageName: string;
}
interface PerformanceEvent {
kind: "UpdateGraph" | "CreatePackageJsonAutoImportProvider";
durationMs: number;
}
interface LanguageServiceHost extends GetEffectiveTypeRootsHost {
getCompilationSettings(): CompilerOptions;
getNewLine?(): string;
@@ -5660,6 +5676,11 @@ declare namespace ts {
* so this description should make sense by itself if the parent is inlineable=true
*/
description: string;
/**
* A message to show to the user if the refactoring cannot be applied in
* the current context.
*/
notApplicableReason?: string;
}
/**
* A set of edits to make in response to a refactor action, plus an optional
@@ -5937,6 +5958,7 @@ declare namespace ts {
source?: string;
isRecommended?: true;
isFromUncheckedFile?: true;
isPackageJsonImport?: true;
}
interface CompletionEntryDetails {
name: string;