File tree Expand file tree Collapse file tree 3 files changed +0
-14
lines changed
Filter options
tests/baselines/reference/api Expand file tree Collapse file tree 3 files changed +0
-14
lines changed
Original file line number Diff line number Diff line change @@ -1293,13 +1293,6 @@ export type HasIllegalTypeParameters =
1293
1293
| SetAccessorDeclaration
1294
1294
| GetAccessorDeclaration ;
1295
1295
1296
- export type HasTypeArguments =
1297
- | CallExpression
1298
- | NewExpression
1299
- | TaggedTemplateExpression
1300
- | JsxOpeningElement
1301
- | JsxSelfClosingElement ;
1302
-
1303
1296
export type HasInitializer =
1304
1297
| HasExpressionInitializer
1305
1298
| ForStatement
Original file line number Diff line number Diff line change @@ -222,7 +222,6 @@ import {
222
222
HasModifiers ,
223
223
hasProperty ,
224
224
HasType ,
225
- HasTypeArguments ,
226
225
HeritageClause ,
227
226
Identifier ,
228
227
identifierToKeywordKind ,
@@ -4751,11 +4750,6 @@ export function getTypeParameterFromJsDoc(node: TypeParameterDeclaration & { par
4751
4750
return typeParameters && find ( typeParameters , p => p . name . escapedText === name ) ;
4752
4751
}
4753
4752
4754
- /** @internal @knipignore */
4755
- export function hasTypeArguments ( node : Node ) : node is HasTypeArguments {
4756
- return ! ! ( node as HasTypeArguments ) . typeArguments ;
4757
- }
4758
-
4759
4753
/** @internal */
4760
4754
export const enum AssignmentKind {
4761
4755
None ,
Original file line number Diff line number Diff line change @@ -4392,7 +4392,6 @@ declare namespace ts {
4392
4392
| WhileStatement
4393
4393
| WithStatement;
4394
4394
type HasType = SignatureDeclaration | VariableDeclaration | ParameterDeclaration | PropertySignature | PropertyDeclaration | TypePredicateNode | ParenthesizedTypeNode | TypeOperatorNode | MappedTypeNode | AssertionExpression | TypeAliasDeclaration | JSDocTypeExpression | JSDocNonNullableType | JSDocNullableType | JSDocOptionalType | JSDocVariadicType;
4395
- type HasTypeArguments = CallExpression | NewExpression | TaggedTemplateExpression | JsxOpeningElement | JsxSelfClosingElement;
4396
4395
type HasInitializer = HasExpressionInitializer | ForStatement | ForInStatement | ForOfStatement | JsxAttribute;
4397
4396
type HasExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDeclaration | PropertyAssignment | EnumMember;
4398
4397
type HasDecorators = ParameterDeclaration | PropertyDeclaration | MethodDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | ClassExpression | ClassDeclaration;
You can’t perform that action at this time.
0 commit comments