mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Bump version to 4.0.0-beta and LKG
This commit is contained in:
Vendored
+22
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user