File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -2097,25 +2097,29 @@ declare namespace ts {
2097
2097
AssertsThis = 2 ,
2098
2098
AssertsIdentifier = 3
2099
2099
}
2100
- export interface ThisTypePredicate {
2100
+ export interface TypePredicateBase {
2101
+ kind : TypePredicateKind ;
2102
+ type : Type | undefined ;
2103
+ }
2104
+ export interface ThisTypePredicate extends TypePredicateBase {
2101
2105
kind : TypePredicateKind . This ;
2102
2106
parameterName : undefined ;
2103
2107
parameterIndex : undefined ;
2104
2108
type : Type ;
2105
2109
}
2106
- export interface IdentifierTypePredicate {
2110
+ export interface IdentifierTypePredicate extends TypePredicateBase {
2107
2111
kind : TypePredicateKind . Identifier ;
2108
2112
parameterName : string ;
2109
2113
parameterIndex : number ;
2110
2114
type : Type ;
2111
2115
}
2112
- export interface AssertsThisTypePredicate {
2116
+ export interface AssertsThisTypePredicate extends TypePredicateBase {
2113
2117
kind : TypePredicateKind . AssertsThis ;
2114
2118
parameterName : undefined ;
2115
2119
parameterIndex : undefined ;
2116
2120
type : Type | undefined ;
2117
2121
}
2118
- export interface AssertsIdentifierTypePredicate {
2122
+ export interface AssertsIdentifierTypePredicate extends TypePredicateBase {
2119
2123
kind : TypePredicateKind . AssertsIdentifier ;
2120
2124
parameterName : string ;
2121
2125
parameterIndex : number ;
Original file line number Diff line number Diff line change @@ -2097,25 +2097,29 @@ declare namespace ts {
2097
2097
AssertsThis = 2 ,
2098
2098
AssertsIdentifier = 3
2099
2099
}
2100
- export interface ThisTypePredicate {
2100
+ export interface TypePredicateBase {
2101
+ kind : TypePredicateKind ;
2102
+ type : Type | undefined ;
2103
+ }
2104
+ export interface ThisTypePredicate extends TypePredicateBase {
2101
2105
kind : TypePredicateKind . This ;
2102
2106
parameterName : undefined ;
2103
2107
parameterIndex : undefined ;
2104
2108
type : Type ;
2105
2109
}
2106
- export interface IdentifierTypePredicate {
2110
+ export interface IdentifierTypePredicate extends TypePredicateBase {
2107
2111
kind : TypePredicateKind . Identifier ;
2108
2112
parameterName : string ;
2109
2113
parameterIndex : number ;
2110
2114
type : Type ;
2111
2115
}
2112
- export interface AssertsThisTypePredicate {
2116
+ export interface AssertsThisTypePredicate extends TypePredicateBase {
2113
2117
kind : TypePredicateKind . AssertsThis ;
2114
2118
parameterName : undefined ;
2115
2119
parameterIndex : undefined ;
2116
2120
type : Type | undefined ;
2117
2121
}
2118
- export interface AssertsIdentifierTypePredicate {
2122
+ export interface AssertsIdentifierTypePredicate extends TypePredicateBase {
2119
2123
kind : TypePredicateKind . AssertsIdentifier ;
2120
2124
parameterName : string ;
2121
2125
parameterIndex : number ;
You can’t perform that action at this time.
0 commit comments