Skip to content

Commit

Permalink
chore: accept baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Sep 8, 2020
1 parent bb2081f commit f1b195d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ declare namespace ts {
}
export interface TypeOperatorNode extends TypeNode {
readonly kind: SyntaxKind.TypeOperator;
readonly operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword;
readonly operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.ThrowKeyword;
readonly type: TypeNode;
}
export interface IndexedAccessTypeNode extends TypeNode {
Expand Down Expand Up @@ -978,7 +978,8 @@ declare namespace ts {
Uppercase = 1,
Lowercase = 2,
Capitalize = 3,
Uncapitalize = 4
Uncapitalize = 4,
TypeOf = 5
}
export interface Expression extends Node {
_expressionBrand: any;
Expand Down Expand Up @@ -2477,6 +2478,7 @@ declare namespace ts {
Substitution = 33554432,
NonPrimitive = 67108864,
TemplateLiteral = 134217728,
ThrowType = 268435456,
Literal = 2944,
Unit = 109440,
StringOrNumberLiteral = 384,
Expand Down Expand Up @@ -2525,6 +2527,9 @@ declare namespace ts {
}
export interface EnumType extends Type {
}
export interface ThrowType extends Type {
value: Type;
}
export enum ObjectFlags {
Class = 1,
Interface = 2,
Expand Down Expand Up @@ -3246,7 +3251,7 @@ declare namespace ts {
createParenthesizedType(type: TypeNode): ParenthesizedTypeNode;
updateParenthesizedType(node: ParenthesizedTypeNode, type: TypeNode): ParenthesizedTypeNode;
createThisTypeNode(): ThisTypeNode;
createTypeOperatorNode(operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword, type: TypeNode): TypeOperatorNode;
createTypeOperatorNode(operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.ThrowKeyword, type: TypeNode): TypeOperatorNode;
updateTypeOperatorNode(node: TypeOperatorNode, type: TypeNode): TypeOperatorNode;
createIndexedAccessTypeNode(objectType: TypeNode, indexType: TypeNode): IndexedAccessTypeNode;
updateIndexedAccessTypeNode(node: IndexedAccessTypeNode, objectType: TypeNode, indexType: TypeNode): IndexedAccessTypeNode;
Expand Down
11 changes: 8 additions & 3 deletions tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ declare namespace ts {
}
export interface TypeOperatorNode extends TypeNode {
readonly kind: SyntaxKind.TypeOperator;
readonly operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword;
readonly operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.ThrowKeyword;
readonly type: TypeNode;
}
export interface IndexedAccessTypeNode extends TypeNode {
Expand Down Expand Up @@ -978,7 +978,8 @@ declare namespace ts {
Uppercase = 1,
Lowercase = 2,
Capitalize = 3,
Uncapitalize = 4
Uncapitalize = 4,
TypeOf = 5
}
export interface Expression extends Node {
_expressionBrand: any;
Expand Down Expand Up @@ -2477,6 +2478,7 @@ declare namespace ts {
Substitution = 33554432,
NonPrimitive = 67108864,
TemplateLiteral = 134217728,
ThrowType = 268435456,
Literal = 2944,
Unit = 109440,
StringOrNumberLiteral = 384,
Expand Down Expand Up @@ -2525,6 +2527,9 @@ declare namespace ts {
}
export interface EnumType extends Type {
}
export interface ThrowType extends Type {
value: Type;
}
export enum ObjectFlags {
Class = 1,
Interface = 2,
Expand Down Expand Up @@ -3246,7 +3251,7 @@ declare namespace ts {
createParenthesizedType(type: TypeNode): ParenthesizedTypeNode;
updateParenthesizedType(node: ParenthesizedTypeNode, type: TypeNode): ParenthesizedTypeNode;
createThisTypeNode(): ThisTypeNode;
createTypeOperatorNode(operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword, type: TypeNode): TypeOperatorNode;
createTypeOperatorNode(operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.ThrowKeyword, type: TypeNode): TypeOperatorNode;
updateTypeOperatorNode(node: TypeOperatorNode, type: TypeNode): TypeOperatorNode;
createIndexedAccessTypeNode(objectType: TypeNode, indexType: TypeNode): IndexedAccessTypeNode;
updateIndexedAccessTypeNode(node: IndexedAccessTypeNode, objectType: TypeNode, indexType: TypeNode): IndexedAccessTypeNode;
Expand Down

0 comments on commit f1b195d

Please sign in to comment.