Skip to content

Commit 8791b62

Browse files
committed
Accept new baselines
1 parent 2152874 commit 8791b62

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,25 +2097,29 @@ declare namespace ts {
20972097
AssertsThis = 2,
20982098
AssertsIdentifier = 3
20992099
}
2100-
export interface ThisTypePredicate {
2100+
export interface TypePredicateBase {
2101+
kind: TypePredicateKind;
2102+
type: Type | undefined;
2103+
}
2104+
export interface ThisTypePredicate extends TypePredicateBase {
21012105
kind: TypePredicateKind.This;
21022106
parameterName: undefined;
21032107
parameterIndex: undefined;
21042108
type: Type;
21052109
}
2106-
export interface IdentifierTypePredicate {
2110+
export interface IdentifierTypePredicate extends TypePredicateBase {
21072111
kind: TypePredicateKind.Identifier;
21082112
parameterName: string;
21092113
parameterIndex: number;
21102114
type: Type;
21112115
}
2112-
export interface AssertsThisTypePredicate {
2116+
export interface AssertsThisTypePredicate extends TypePredicateBase {
21132117
kind: TypePredicateKind.AssertsThis;
21142118
parameterName: undefined;
21152119
parameterIndex: undefined;
21162120
type: Type | undefined;
21172121
}
2118-
export interface AssertsIdentifierTypePredicate {
2122+
export interface AssertsIdentifierTypePredicate extends TypePredicateBase {
21192123
kind: TypePredicateKind.AssertsIdentifier;
21202124
parameterName: string;
21212125
parameterIndex: number;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,25 +2097,29 @@ declare namespace ts {
20972097
AssertsThis = 2,
20982098
AssertsIdentifier = 3
20992099
}
2100-
export interface ThisTypePredicate {
2100+
export interface TypePredicateBase {
2101+
kind: TypePredicateKind;
2102+
type: Type | undefined;
2103+
}
2104+
export interface ThisTypePredicate extends TypePredicateBase {
21012105
kind: TypePredicateKind.This;
21022106
parameterName: undefined;
21032107
parameterIndex: undefined;
21042108
type: Type;
21052109
}
2106-
export interface IdentifierTypePredicate {
2110+
export interface IdentifierTypePredicate extends TypePredicateBase {
21072111
kind: TypePredicateKind.Identifier;
21082112
parameterName: string;
21092113
parameterIndex: number;
21102114
type: Type;
21112115
}
2112-
export interface AssertsThisTypePredicate {
2116+
export interface AssertsThisTypePredicate extends TypePredicateBase {
21132117
kind: TypePredicateKind.AssertsThis;
21142118
parameterName: undefined;
21152119
parameterIndex: undefined;
21162120
type: Type | undefined;
21172121
}
2118-
export interface AssertsIdentifierTypePredicate {
2122+
export interface AssertsIdentifierTypePredicate extends TypePredicateBase {
21192123
kind: TypePredicateKind.AssertsIdentifier;
21202124
parameterName: string;
21212125
parameterIndex: number;

0 commit comments

Comments
 (0)