mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Fix incorrect argument type on TSTypeReference (#34926)
https://babeljs.io/docs/en/babel-types#tstypereference
This commit is contained in:
committed by
Pranav Senthilnathan
parent
2a629ed0c2
commit
20fdb93704
@@ -115,7 +115,7 @@ t.TSTypeParameterDeclaration([param]);
|
||||
t.TSTypeParameterInstantiation([any]);
|
||||
t.TSTypePredicate(id, t.TSTypeAnnotation(any));
|
||||
t.TSTypeQuery(id);
|
||||
t.TSTypeReference(id);
|
||||
t.TSTypeReference(id, t.TSTypeParameterInstantiation([any]));
|
||||
t.TSUndefinedKeyword();
|
||||
t.TSUnionType([any]);
|
||||
t.TSVoidKeyword();
|
||||
|
||||
Vendored
+1
-1
@@ -1509,7 +1509,7 @@ export function TSTypeParameterDeclaration(params: TSTypeParameter[]): TSTypePar
|
||||
export function TSTypeParameterInstantiation(params: TSType[]): TSTypeParameterInstantiation;
|
||||
export function TSTypePredicate(parameterName: Identifier | TSThisType, typeAnnotation: TSTypeAnnotation): TSTypePredicate;
|
||||
export function TSTypeQuery(exprName: TSEntityName): TSTypeQuery;
|
||||
export function TSTypeReference(typeName: TSEntityName, typeParameters?: TypeParameterInstantiation): TSTypeReference;
|
||||
export function TSTypeReference(typeName: TSEntityName, typeParameters?: TSTypeParameterInstantiation): TSTypeReference;
|
||||
export function TSUndefinedKeyword(): TSUndefinedKeyword;
|
||||
export function TSUnionType(types: TSType[]): TSUnionType;
|
||||
export function TSVoidKeyword(): TSVoidKeyword;
|
||||
|
||||
Reference in New Issue
Block a user