mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
build: update typescript to version 3.4.3
This commit is contained in:
parent
0a59307c19
commit
b6b00ebc98
@ -74,7 +74,7 @@
|
|||||||
"quicktype-core": "^6.0.15",
|
"quicktype-core": "^6.0.15",
|
||||||
"temp": "^0.9.0",
|
"temp": "^0.9.0",
|
||||||
"tslint": "^5.13.1",
|
"tslint": "^5.13.1",
|
||||||
"typescript": "3.3.4000"
|
"typescript": "3.4.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/compiler": "^8.0.0-beta.11",
|
"@angular/compiler": "^8.0.0-beta.11",
|
||||||
|
@ -492,7 +492,7 @@ export abstract class SchematicCommand<
|
|||||||
}
|
}
|
||||||
|
|
||||||
const pathOptions = o ? this.setPathOptions(o, workingDir) : {};
|
const pathOptions = o ? this.setPathOptions(o, workingDir) : {};
|
||||||
let input = Object.assign(pathOptions, args);
|
let input = { ...pathOptions, ...args };
|
||||||
|
|
||||||
// Read the default values from the workspace.
|
// Read the default values from the workspace.
|
||||||
const projectName = input.project !== undefined ? '' + input.project : null;
|
const projectName = input.project !== undefined ? '' + input.project : null;
|
||||||
|
@ -87,6 +87,6 @@
|
|||||||
"zone.js": "^0.9.0"
|
"zone.js": "^0.9.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": ">=2.7 < 3.4"
|
"typescript": ">=2.7 < 3.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"loader-utils": "1.2.3",
|
"loader-utils": "1.2.3",
|
||||||
"source-map": "0.5.6",
|
"source-map": "0.5.6",
|
||||||
"typescript": "3.3.4000",
|
"typescript": "3.4.3",
|
||||||
"webpack-sources": "1.3.0"
|
"webpack-sources": "1.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,13 +29,13 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/compiler-cli": ">=6.0.0 <9.0.0 || ^8.0.0-beta.0",
|
"@angular/compiler-cli": ">=6.0.0 <9.0.0 || ^8.0.0-beta.0",
|
||||||
"typescript": ">=2.7 < 3.4",
|
"typescript": ">=2.7 < 3.5",
|
||||||
"webpack": "^4.0.0"
|
"webpack": "^4.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/compiler": "^8.0.0-beta.11",
|
"@angular/compiler": "^8.0.0-beta.11",
|
||||||
"@angular/compiler-cli": "^8.0.0-beta.11",
|
"@angular/compiler-cli": "^8.0.0-beta.11",
|
||||||
"typescript": "3.3.4000",
|
"typescript": "3.4.3",
|
||||||
"webpack": "4.29.6"
|
"webpack": "4.29.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ and limitations under the License.
|
|||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
declare namespace ts {
|
declare namespace ts {
|
||||||
const versionMajorMinor = "3.3";
|
const versionMajorMinor = "3.4";
|
||||||
/** The version of the TypeScript compiler release */
|
/** The version of the TypeScript compiler release */
|
||||||
const version: string;
|
const version: string;
|
||||||
}
|
}
|
||||||
@ -355,40 +355,45 @@ declare namespace ts {
|
|||||||
ShorthandPropertyAssignment = 276,
|
ShorthandPropertyAssignment = 276,
|
||||||
SpreadAssignment = 277,
|
SpreadAssignment = 277,
|
||||||
EnumMember = 278,
|
EnumMember = 278,
|
||||||
SourceFile = 279,
|
UnparsedPrologue = 279,
|
||||||
Bundle = 280,
|
UnparsedPrepend = 280,
|
||||||
UnparsedSource = 281,
|
UnparsedText = 281,
|
||||||
InputFiles = 282,
|
UnparsedInternalText = 282,
|
||||||
JSDocTypeExpression = 283,
|
UnparsedSyntheticReference = 283,
|
||||||
JSDocAllType = 284,
|
SourceFile = 284,
|
||||||
JSDocUnknownType = 285,
|
Bundle = 285,
|
||||||
JSDocNullableType = 286,
|
UnparsedSource = 286,
|
||||||
JSDocNonNullableType = 287,
|
InputFiles = 287,
|
||||||
JSDocOptionalType = 288,
|
JSDocTypeExpression = 288,
|
||||||
JSDocFunctionType = 289,
|
JSDocAllType = 289,
|
||||||
JSDocVariadicType = 290,
|
JSDocUnknownType = 290,
|
||||||
JSDocComment = 291,
|
JSDocNullableType = 291,
|
||||||
JSDocTypeLiteral = 292,
|
JSDocNonNullableType = 292,
|
||||||
JSDocSignature = 293,
|
JSDocOptionalType = 293,
|
||||||
JSDocTag = 294,
|
JSDocFunctionType = 294,
|
||||||
JSDocAugmentsTag = 295,
|
JSDocVariadicType = 295,
|
||||||
JSDocClassTag = 296,
|
JSDocComment = 296,
|
||||||
JSDocCallbackTag = 297,
|
JSDocTypeLiteral = 297,
|
||||||
JSDocEnumTag = 298,
|
JSDocSignature = 298,
|
||||||
JSDocParameterTag = 299,
|
JSDocTag = 299,
|
||||||
JSDocReturnTag = 300,
|
JSDocAugmentsTag = 300,
|
||||||
JSDocThisTag = 301,
|
JSDocClassTag = 301,
|
||||||
JSDocTypeTag = 302,
|
JSDocCallbackTag = 302,
|
||||||
JSDocTemplateTag = 303,
|
JSDocEnumTag = 303,
|
||||||
JSDocTypedefTag = 304,
|
JSDocParameterTag = 304,
|
||||||
JSDocPropertyTag = 305,
|
JSDocReturnTag = 305,
|
||||||
SyntaxList = 306,
|
JSDocThisTag = 306,
|
||||||
NotEmittedStatement = 307,
|
JSDocTypeTag = 307,
|
||||||
PartiallyEmittedExpression = 308,
|
JSDocTemplateTag = 308,
|
||||||
CommaListExpression = 309,
|
JSDocTypedefTag = 309,
|
||||||
MergeDeclarationMarker = 310,
|
JSDocPropertyTag = 310,
|
||||||
EndOfDeclarationMarker = 311,
|
SyntaxList = 311,
|
||||||
Count = 312,
|
NotEmittedStatement = 312,
|
||||||
|
PartiallyEmittedExpression = 313,
|
||||||
|
CommaListExpression = 314,
|
||||||
|
MergeDeclarationMarker = 315,
|
||||||
|
EndOfDeclarationMarker = 316,
|
||||||
|
Count = 317,
|
||||||
FirstAssignment = 59,
|
FirstAssignment = 59,
|
||||||
LastAssignment = 71,
|
LastAssignment = 71,
|
||||||
FirstCompoundAssignment = 60,
|
FirstCompoundAssignment = 60,
|
||||||
@ -414,10 +419,10 @@ declare namespace ts {
|
|||||||
FirstBinaryOperator = 28,
|
FirstBinaryOperator = 28,
|
||||||
LastBinaryOperator = 71,
|
LastBinaryOperator = 71,
|
||||||
FirstNode = 148,
|
FirstNode = 148,
|
||||||
FirstJSDocNode = 283,
|
FirstJSDocNode = 288,
|
||||||
LastJSDocNode = 305,
|
LastJSDocNode = 310,
|
||||||
FirstJSDocTagNode = 294,
|
FirstJSDocTagNode = 299,
|
||||||
LastJSDocTagNode = 305
|
LastJSDocTagNode = 310,
|
||||||
}
|
}
|
||||||
enum NodeFlags {
|
enum NodeFlags {
|
||||||
None = 0,
|
None = 0,
|
||||||
@ -446,7 +451,7 @@ declare namespace ts {
|
|||||||
ReachabilityCheckFlags = 384,
|
ReachabilityCheckFlags = 384,
|
||||||
ReachabilityAndEmitFlags = 1408,
|
ReachabilityAndEmitFlags = 1408,
|
||||||
ContextFlags = 12679168,
|
ContextFlags = 12679168,
|
||||||
TypeExcludesFlags = 20480
|
TypeExcludesFlags = 20480,
|
||||||
}
|
}
|
||||||
enum ModifierFlags {
|
enum ModifierFlags {
|
||||||
None = 0,
|
None = 0,
|
||||||
@ -814,7 +819,7 @@ declare namespace ts {
|
|||||||
}
|
}
|
||||||
interface TypeOperatorNode extends TypeNode {
|
interface TypeOperatorNode extends TypeNode {
|
||||||
kind: SyntaxKind.TypeOperator;
|
kind: SyntaxKind.TypeOperator;
|
||||||
operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword;
|
operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword;
|
||||||
type: TypeNode;
|
type: TypeNode;
|
||||||
}
|
}
|
||||||
interface IndexedAccessTypeNode extends TypeNode {
|
interface IndexedAccessTypeNode extends TypeNode {
|
||||||
@ -997,6 +1002,14 @@ declare namespace ts {
|
|||||||
interface NoSubstitutionTemplateLiteral extends LiteralExpression {
|
interface NoSubstitutionTemplateLiteral extends LiteralExpression {
|
||||||
kind: SyntaxKind.NoSubstitutionTemplateLiteral;
|
kind: SyntaxKind.NoSubstitutionTemplateLiteral;
|
||||||
}
|
}
|
||||||
|
enum TokenFlags {
|
||||||
|
None = 0,
|
||||||
|
Scientific = 16,
|
||||||
|
Octal = 32,
|
||||||
|
HexSpecifier = 64,
|
||||||
|
BinarySpecifier = 128,
|
||||||
|
OctalSpecifier = 256,
|
||||||
|
}
|
||||||
interface NumericLiteral extends LiteralExpression {
|
interface NumericLiteral extends LiteralExpression {
|
||||||
kind: SyntaxKind.NumericLiteral;
|
kind: SyntaxKind.NumericLiteral;
|
||||||
}
|
}
|
||||||
@ -1190,9 +1203,9 @@ declare namespace ts {
|
|||||||
dotDotDotToken?: Token<SyntaxKind.DotDotDotToken>;
|
dotDotDotToken?: Token<SyntaxKind.DotDotDotToken>;
|
||||||
expression?: Expression;
|
expression?: Expression;
|
||||||
}
|
}
|
||||||
interface JsxText extends Node {
|
interface JsxText extends LiteralLikeNode {
|
||||||
kind: SyntaxKind.JsxText;
|
kind: SyntaxKind.JsxText;
|
||||||
containsOnlyWhiteSpaces: boolean;
|
containsOnlyTriviaWhiteSpaces: boolean;
|
||||||
parent: JsxElement;
|
parent: JsxElement;
|
||||||
}
|
}
|
||||||
type JsxChild = JsxText | JsxExpression | JsxElement | JsxSelfClosingElement | JsxFragment;
|
type JsxChild = JsxText | JsxExpression | JsxElement | JsxSelfClosingElement | JsxFragment;
|
||||||
@ -1737,10 +1750,44 @@ declare namespace ts {
|
|||||||
}
|
}
|
||||||
interface UnparsedSource extends Node {
|
interface UnparsedSource extends Node {
|
||||||
kind: SyntaxKind.UnparsedSource;
|
kind: SyntaxKind.UnparsedSource;
|
||||||
fileName?: string;
|
fileName: string;
|
||||||
text: string;
|
text: string;
|
||||||
|
prologues: ReadonlyArray<UnparsedPrologue>;
|
||||||
|
helpers: ReadonlyArray<UnscopedEmitHelper> | undefined;
|
||||||
|
referencedFiles: ReadonlyArray<FileReference>;
|
||||||
|
typeReferenceDirectives: ReadonlyArray<string> | undefined;
|
||||||
|
libReferenceDirectives: ReadonlyArray<FileReference>;
|
||||||
|
hasNoDefaultLib?: boolean;
|
||||||
sourceMapPath?: string;
|
sourceMapPath?: string;
|
||||||
sourceMapText?: string;
|
sourceMapText?: string;
|
||||||
|
syntheticReferences?: ReadonlyArray<UnparsedSyntheticReference>;
|
||||||
|
texts: ReadonlyArray<UnparsedSourceText>;
|
||||||
|
}
|
||||||
|
type UnparsedSourceText = UnparsedPrepend | UnparsedTextLike;
|
||||||
|
type UnparsedNode = UnparsedPrologue | UnparsedSourceText | UnparsedSyntheticReference;
|
||||||
|
interface UnparsedSection extends Node {
|
||||||
|
kind: SyntaxKind;
|
||||||
|
data?: string;
|
||||||
|
parent: UnparsedSource;
|
||||||
|
}
|
||||||
|
interface UnparsedPrologue extends UnparsedSection {
|
||||||
|
kind: SyntaxKind.UnparsedPrologue;
|
||||||
|
data: string;
|
||||||
|
parent: UnparsedSource;
|
||||||
|
}
|
||||||
|
interface UnparsedPrepend extends UnparsedSection {
|
||||||
|
kind: SyntaxKind.UnparsedPrepend;
|
||||||
|
data: string;
|
||||||
|
parent: UnparsedSource;
|
||||||
|
texts: ReadonlyArray<UnparsedTextLike>;
|
||||||
|
}
|
||||||
|
interface UnparsedTextLike extends UnparsedSection {
|
||||||
|
kind: SyntaxKind.UnparsedText | SyntaxKind.UnparsedInternalText;
|
||||||
|
parent: UnparsedSource;
|
||||||
|
}
|
||||||
|
interface UnparsedSyntheticReference extends UnparsedSection {
|
||||||
|
kind: SyntaxKind.UnparsedSyntheticReference;
|
||||||
|
parent: UnparsedSource;
|
||||||
}
|
}
|
||||||
interface JsonSourceFile extends SourceFile {
|
interface JsonSourceFile extends SourceFile {
|
||||||
statements: NodeArray<JsonObjectExpressionStatement>;
|
statements: NodeArray<JsonObjectExpressionStatement>;
|
||||||
@ -2014,7 +2061,7 @@ declare namespace ts {
|
|||||||
WriteTypeParametersOrArguments = 1,
|
WriteTypeParametersOrArguments = 1,
|
||||||
UseOnlyExternalAliasing = 2,
|
UseOnlyExternalAliasing = 2,
|
||||||
AllowAnyNodeKind = 4,
|
AllowAnyNodeKind = 4,
|
||||||
UseAliasDefinedOutsideCurrentScope = 8
|
UseAliasDefinedOutsideCurrentScope = 8,
|
||||||
}
|
}
|
||||||
enum TypePredicateKind {
|
enum TypePredicateKind {
|
||||||
This = 0,
|
This = 0,
|
||||||
@ -2092,7 +2139,7 @@ declare namespace ts {
|
|||||||
ExportHasLocal = 944,
|
ExportHasLocal = 944,
|
||||||
BlockScoped = 418,
|
BlockScoped = 418,
|
||||||
PropertyOrAccessor = 98308,
|
PropertyOrAccessor = 98308,
|
||||||
ClassMember = 106500
|
ClassMember = 106500,
|
||||||
}
|
}
|
||||||
interface Symbol {
|
interface Symbol {
|
||||||
flags: SymbolFlags;
|
flags: SymbolFlags;
|
||||||
@ -2200,7 +2247,7 @@ declare namespace ts {
|
|||||||
Instantiable = 63176704,
|
Instantiable = 63176704,
|
||||||
StructuredOrInstantiable = 66846720,
|
StructuredOrInstantiable = 66846720,
|
||||||
Narrowable = 133970943,
|
Narrowable = 133970943,
|
||||||
NotUnionOrUnit = 67637251
|
NotUnionOrUnit = 67637251,
|
||||||
}
|
}
|
||||||
type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
|
type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
|
||||||
interface Type {
|
interface Type {
|
||||||
@ -2247,7 +2294,7 @@ declare namespace ts {
|
|||||||
MarkerType = 8192,
|
MarkerType = 8192,
|
||||||
JSLiteral = 16384,
|
JSLiteral = 16384,
|
||||||
FreshLiteral = 32768,
|
FreshLiteral = 32768,
|
||||||
ClassOrInterface = 3
|
ClassOrInterface = 3,
|
||||||
}
|
}
|
||||||
interface ObjectType extends Type {
|
interface ObjectType extends Type {
|
||||||
objectFlags: ObjectFlags;
|
objectFlags: ObjectFlags;
|
||||||
@ -2286,6 +2333,7 @@ declare namespace ts {
|
|||||||
interface TupleType extends GenericType {
|
interface TupleType extends GenericType {
|
||||||
minLength: number;
|
minLength: number;
|
||||||
hasRestElement: boolean;
|
hasRestElement: boolean;
|
||||||
|
readonly: boolean;
|
||||||
associatedNames?: __String[];
|
associatedNames?: __String[];
|
||||||
}
|
}
|
||||||
interface TupleTypeReference extends TypeReference {
|
interface TupleTypeReference extends TypeReference {
|
||||||
@ -2334,8 +2382,8 @@ declare namespace ts {
|
|||||||
root: ConditionalRoot;
|
root: ConditionalRoot;
|
||||||
checkType: Type;
|
checkType: Type;
|
||||||
extendsType: Type;
|
extendsType: Type;
|
||||||
resolvedTrueType?: Type;
|
trueType: Type;
|
||||||
resolvedFalseType?: Type;
|
falseType: Type;
|
||||||
}
|
}
|
||||||
interface SubstitutionType extends InstantiableType {
|
interface SubstitutionType extends InstantiableType {
|
||||||
typeVariable: TypeVariable;
|
typeVariable: TypeVariable;
|
||||||
@ -2494,6 +2542,8 @@ declare namespace ts {
|
|||||||
reactNamespace?: string;
|
reactNamespace?: string;
|
||||||
jsxFactory?: string;
|
jsxFactory?: string;
|
||||||
composite?: boolean;
|
composite?: boolean;
|
||||||
|
incremental?: boolean;
|
||||||
|
tsBuildInfoFile?: string;
|
||||||
removeComments?: boolean;
|
removeComments?: boolean;
|
||||||
rootDir?: string;
|
rootDir?: string;
|
||||||
rootDirs?: string[];
|
rootDirs?: string[];
|
||||||
@ -2570,9 +2620,10 @@ declare namespace ts {
|
|||||||
ES2016 = 3,
|
ES2016 = 3,
|
||||||
ES2017 = 4,
|
ES2017 = 4,
|
||||||
ES2018 = 5,
|
ES2018 = 5,
|
||||||
ESNext = 6,
|
ES2019 = 6,
|
||||||
|
ESNext = 7,
|
||||||
JSON = 100,
|
JSON = 100,
|
||||||
Latest = 6
|
Latest = 7
|
||||||
}
|
}
|
||||||
enum LanguageVariant {
|
enum LanguageVariant {
|
||||||
Standard = 0,
|
Standard = 0,
|
||||||
@ -2669,7 +2720,8 @@ declare namespace ts {
|
|||||||
Dts = ".d.ts",
|
Dts = ".d.ts",
|
||||||
Js = ".js",
|
Js = ".js",
|
||||||
Jsx = ".jsx",
|
Jsx = ".jsx",
|
||||||
Json = ".json"
|
Json = ".json",
|
||||||
|
TsBuildInfo = ".tsbuildinfo"
|
||||||
}
|
}
|
||||||
interface ResolvedModuleWithFailedLookupLocations {
|
interface ResolvedModuleWithFailedLookupLocations {
|
||||||
readonly resolvedModule: ResolvedModuleFull | undefined;
|
readonly resolvedModule: ResolvedModuleFull | undefined;
|
||||||
@ -2742,7 +2794,7 @@ declare namespace ts {
|
|||||||
NoHoisting = 2097152,
|
NoHoisting = 2097152,
|
||||||
HasEndOfDeclarationMarker = 4194304,
|
HasEndOfDeclarationMarker = 4194304,
|
||||||
Iterator = 8388608,
|
Iterator = 8388608,
|
||||||
NoAsciiEscaping = 16777216
|
NoAsciiEscaping = 16777216,
|
||||||
}
|
}
|
||||||
interface EmitHelper {
|
interface EmitHelper {
|
||||||
readonly name: string;
|
readonly name: string;
|
||||||
@ -2750,6 +2802,10 @@ declare namespace ts {
|
|||||||
readonly text: string | ((node: EmitHelperUniqueNameCallback) => string);
|
readonly text: string | ((node: EmitHelperUniqueNameCallback) => string);
|
||||||
readonly priority?: number;
|
readonly priority?: number;
|
||||||
}
|
}
|
||||||
|
interface UnscopedEmitHelper extends EmitHelper {
|
||||||
|
readonly scoped: false;
|
||||||
|
readonly text: string;
|
||||||
|
}
|
||||||
type EmitHelperUniqueNameCallback = (name: string) => string;
|
type EmitHelperUniqueNameCallback = (name: string) => string;
|
||||||
enum EmitHint {
|
enum EmitHint {
|
||||||
SourceFile = 0,
|
SourceFile = 0,
|
||||||
@ -3359,6 +3415,7 @@ declare namespace ts {
|
|||||||
function isNewExpression(node: Node): node is NewExpression;
|
function isNewExpression(node: Node): node is NewExpression;
|
||||||
function isTaggedTemplateExpression(node: Node): node is TaggedTemplateExpression;
|
function isTaggedTemplateExpression(node: Node): node is TaggedTemplateExpression;
|
||||||
function isTypeAssertion(node: Node): node is TypeAssertion;
|
function isTypeAssertion(node: Node): node is TypeAssertion;
|
||||||
|
function isConstTypeReference(node: Node): boolean;
|
||||||
function isParenthesizedExpression(node: Node): node is ParenthesizedExpression;
|
function isParenthesizedExpression(node: Node): node is ParenthesizedExpression;
|
||||||
function skipPartiallyEmittedExpressions(node: Expression): Expression;
|
function skipPartiallyEmittedExpressions(node: Expression): Expression;
|
||||||
function skipPartiallyEmittedExpressions(node: Node): Node;
|
function skipPartiallyEmittedExpressions(node: Node): Node;
|
||||||
@ -3448,6 +3505,9 @@ declare namespace ts {
|
|||||||
function isSourceFile(node: Node): node is SourceFile;
|
function isSourceFile(node: Node): node is SourceFile;
|
||||||
function isBundle(node: Node): node is Bundle;
|
function isBundle(node: Node): node is Bundle;
|
||||||
function isUnparsedSource(node: Node): node is UnparsedSource;
|
function isUnparsedSource(node: Node): node is UnparsedSource;
|
||||||
|
function isUnparsedPrepend(node: Node): node is UnparsedPrepend;
|
||||||
|
function isUnparsedTextLike(node: Node): node is UnparsedTextLike;
|
||||||
|
function isUnparsedNode(node: Node): node is UnparsedNode;
|
||||||
function isJSDocTypeExpression(node: Node): node is JSDocTypeExpression;
|
function isJSDocTypeExpression(node: Node): node is JSDocTypeExpression;
|
||||||
function isJSDocAllType(node: JSDocAllType): node is JSDocAllType;
|
function isJSDocAllType(node: JSDocAllType): node is JSDocAllType;
|
||||||
function isJSDocUnknownType(node: Node): node is JSDocUnknownType;
|
function isJSDocUnknownType(node: Node): node is JSDocUnknownType;
|
||||||
@ -3667,7 +3727,7 @@ declare namespace ts {
|
|||||||
function createLiteral(value: number | PseudoBigInt): NumericLiteral;
|
function createLiteral(value: number | PseudoBigInt): NumericLiteral;
|
||||||
function createLiteral(value: boolean): BooleanLiteral;
|
function createLiteral(value: boolean): BooleanLiteral;
|
||||||
function createLiteral(value: string | number | PseudoBigInt | boolean): PrimaryExpression;
|
function createLiteral(value: string | number | PseudoBigInt | boolean): PrimaryExpression;
|
||||||
function createNumericLiteral(value: string): NumericLiteral;
|
function createNumericLiteral(value: string, numericLiteralFlags?: TokenFlags): NumericLiteral;
|
||||||
function createBigIntLiteral(value: string): BigIntLiteral;
|
function createBigIntLiteral(value: string): BigIntLiteral;
|
||||||
function createStringLiteral(text: string): StringLiteral;
|
function createStringLiteral(text: string): StringLiteral;
|
||||||
function createRegularExpressionLiteral(text: string): RegularExpressionLiteral;
|
function createRegularExpressionLiteral(text: string): RegularExpressionLiteral;
|
||||||
@ -3759,7 +3819,7 @@ declare namespace ts {
|
|||||||
function updateParenthesizedType(node: ParenthesizedTypeNode, type: TypeNode): ParenthesizedTypeNode;
|
function updateParenthesizedType(node: ParenthesizedTypeNode, type: TypeNode): ParenthesizedTypeNode;
|
||||||
function createThisTypeNode(): ThisTypeNode;
|
function createThisTypeNode(): ThisTypeNode;
|
||||||
function createTypeOperatorNode(type: TypeNode): TypeOperatorNode;
|
function createTypeOperatorNode(type: TypeNode): TypeOperatorNode;
|
||||||
function createTypeOperatorNode(operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword, type: TypeNode): TypeOperatorNode;
|
function createTypeOperatorNode(operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword, type: TypeNode): TypeOperatorNode;
|
||||||
function updateTypeOperatorNode(node: TypeOperatorNode, type: TypeNode): TypeOperatorNode;
|
function updateTypeOperatorNode(node: TypeOperatorNode, type: TypeNode): TypeOperatorNode;
|
||||||
function createIndexedAccessTypeNode(objectType: TypeNode, indexType: TypeNode): IndexedAccessTypeNode;
|
function createIndexedAccessTypeNode(objectType: TypeNode, indexType: TypeNode): IndexedAccessTypeNode;
|
||||||
function updateIndexedAccessTypeNode(node: IndexedAccessTypeNode, objectType: TypeNode, indexType: TypeNode): IndexedAccessTypeNode;
|
function updateIndexedAccessTypeNode(node: IndexedAccessTypeNode, objectType: TypeNode, indexType: TypeNode): IndexedAccessTypeNode;
|
||||||
@ -3932,6 +3992,10 @@ declare namespace ts {
|
|||||||
function createJsxClosingElement(tagName: JsxTagNameExpression): JsxClosingElement;
|
function createJsxClosingElement(tagName: JsxTagNameExpression): JsxClosingElement;
|
||||||
function updateJsxClosingElement(node: JsxClosingElement, tagName: JsxTagNameExpression): JsxClosingElement;
|
function updateJsxClosingElement(node: JsxClosingElement, tagName: JsxTagNameExpression): JsxClosingElement;
|
||||||
function createJsxFragment(openingFragment: JsxOpeningFragment, children: ReadonlyArray<JsxChild>, closingFragment: JsxClosingFragment): JsxFragment;
|
function createJsxFragment(openingFragment: JsxOpeningFragment, children: ReadonlyArray<JsxChild>, closingFragment: JsxClosingFragment): JsxFragment;
|
||||||
|
function createJsxText(text: string, containsOnlyTriviaWhiteSpaces?: boolean): JsxText;
|
||||||
|
function updateJsxText(node: JsxText, text: string, containsOnlyTriviaWhiteSpaces?: boolean): JsxText;
|
||||||
|
function createJsxOpeningFragment(): JsxOpeningFragment;
|
||||||
|
function createJsxJsxClosingFragment(): JsxClosingFragment;
|
||||||
function updateJsxFragment(node: JsxFragment, openingFragment: JsxOpeningFragment, children: ReadonlyArray<JsxChild>, closingFragment: JsxClosingFragment): JsxFragment;
|
function updateJsxFragment(node: JsxFragment, openingFragment: JsxOpeningFragment, children: ReadonlyArray<JsxChild>, closingFragment: JsxClosingFragment): JsxFragment;
|
||||||
function createJsxAttribute(name: Identifier, initializer: StringLiteral | JsxExpression): JsxAttribute;
|
function createJsxAttribute(name: Identifier, initializer: StringLiteral | JsxExpression): JsxAttribute;
|
||||||
function updateJsxAttribute(node: JsxAttribute, name: Identifier, initializer: StringLiteral | JsxExpression): JsxAttribute;
|
function updateJsxAttribute(node: JsxAttribute, name: Identifier, initializer: StringLiteral | JsxExpression): JsxAttribute;
|
||||||
@ -3983,10 +4047,10 @@ declare namespace ts {
|
|||||||
function updateCommaList(node: CommaListExpression, elements: ReadonlyArray<Expression>): CommaListExpression;
|
function updateCommaList(node: CommaListExpression, elements: ReadonlyArray<Expression>): CommaListExpression;
|
||||||
function createBundle(sourceFiles: ReadonlyArray<SourceFile>, prepends?: ReadonlyArray<UnparsedSource | InputFiles>): Bundle;
|
function createBundle(sourceFiles: ReadonlyArray<SourceFile>, prepends?: ReadonlyArray<UnparsedSource | InputFiles>): Bundle;
|
||||||
function createUnparsedSourceFile(text: string): UnparsedSource;
|
function createUnparsedSourceFile(text: string): UnparsedSource;
|
||||||
function createUnparsedSourceFile(inputFile: InputFiles, type: "js" | "dts"): UnparsedSource;
|
function createUnparsedSourceFile(inputFile: InputFiles, type: "js" | "dts", stripInternal?: boolean): UnparsedSource;
|
||||||
function createUnparsedSourceFile(text: string, mapPath: string | undefined, map: string | undefined): UnparsedSource;
|
function createUnparsedSourceFile(text: string, mapPath: string | undefined, map: string | undefined): UnparsedSource;
|
||||||
function createInputFiles(javascriptText: string, declarationText: string): InputFiles;
|
function createInputFiles(javascriptText: string, declarationText: string): InputFiles;
|
||||||
function createInputFiles(readFileText: (path: string) => string | undefined, javascriptPath: string, javascriptMapPath: string | undefined, declarationPath: string, declarationMapPath: string | undefined): InputFiles;
|
function createInputFiles(readFileText: (path: string) => string | undefined, javascriptPath: string, javascriptMapPath: string | undefined, declarationPath: string, declarationMapPath: string | undefined, buildInfoPath: string | undefined): InputFiles;
|
||||||
function createInputFiles(javascriptText: string, declarationText: string, javascriptMapPath: string | undefined, javascriptMapText: string | undefined, declarationMapPath: string | undefined, declarationMapText: string | undefined): InputFiles;
|
function createInputFiles(javascriptText: string, declarationText: string, javascriptMapPath: string | undefined, javascriptMapText: string | undefined, declarationMapPath: string | undefined, declarationMapText: string | undefined): InputFiles;
|
||||||
function updateBundle(node: Bundle, sourceFiles: ReadonlyArray<SourceFile>, prepends?: ReadonlyArray<UnparsedSource>): Bundle;
|
function updateBundle(node: Bundle, sourceFiles: ReadonlyArray<SourceFile>, prepends?: ReadonlyArray<UnparsedSource>): Bundle;
|
||||||
function createImmediatelyInvokedFunctionExpression(statements: ReadonlyArray<Statement>): CallExpression;
|
function createImmediatelyInvokedFunctionExpression(statements: ReadonlyArray<Statement>): CallExpression;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -18,6 +18,6 @@
|
|||||||
"@types/jasmine": "^3.3.9",
|
"@types/jasmine": "^3.3.9",
|
||||||
"@types/node": "^8.0.31",
|
"@types/node": "^8.0.31",
|
||||||
"jasmine": "^3.3.1",
|
"jasmine": "^3.3.1",
|
||||||
"typescript": "~3.2.2"
|
"typescript": "~3.4.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,6 @@
|
|||||||
"@types/jasmine": "^3.3.9",
|
"@types/jasmine": "^3.3.9",
|
||||||
"@types/node": "^8.0.31",
|
"@types/node": "^8.0.31",
|
||||||
"jasmine": "^3.3.1",
|
"jasmine": "^3.3.1",
|
||||||
"typescript": "~3.3.3333"
|
"typescript": "3.4.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9541,6 +9541,11 @@ typescript@3.3.4000:
|
|||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.4000.tgz#76b0f89cfdbf97827e1112d64f283f1151d6adf0"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.4000.tgz#76b0f89cfdbf97827e1112d64f283f1151d6adf0"
|
||||||
integrity sha512-jjOcCZvpkl2+z7JFn0yBOoLQyLoIkNZAs/fYJkUG6VKy6zLPHJGfQJYFHzibB6GJaF/8QrcECtlQ5cpvRHSMEA==
|
integrity sha512-jjOcCZvpkl2+z7JFn0yBOoLQyLoIkNZAs/fYJkUG6VKy6zLPHJGfQJYFHzibB6GJaF/8QrcECtlQ5cpvRHSMEA==
|
||||||
|
|
||||||
|
typescript@3.4.3:
|
||||||
|
version "3.4.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.3.tgz#0eb320e4ace9b10eadf5bc6103286b0f8b7c224f"
|
||||||
|
integrity sha512-FFgHdPt4T/duxx6Ndf7hwgMZZjZpB+U0nMNGVCYPq0rEzWKjEDobm4J6yb3CS7naZ0yURFqdw9Gwc7UOh/P9oQ==
|
||||||
|
|
||||||
uglify-js@^3.1.4:
|
uglify-js@^3.1.4:
|
||||||
version "3.4.9"
|
version "3.4.9"
|
||||||
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3"
|
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user