We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c46b5 commit b27aec2Copy full SHA for b27aec2
src/compiler/factory.ts
@@ -1462,7 +1462,7 @@ namespace ts {
1462
: node;
1463
}
1464
1465
- export function createTypeAliasDeclaration(name: Identifier, typeParameters: TypeParameterDeclaration[] | undefined, type: TypeNode) {
+ export function createTypeAliasDeclaration(name: string | Identifier, typeParameters: TypeParameterDeclaration[] | undefined, type: TypeNode) {
1466
const node = <TypeAliasDeclaration>createSynthesizedNode(SyntaxKind.TypeAliasDeclaration);
1467
node.name = asName(name);
1468
node.typeParameters = asNodeArray(typeParameters);
0 commit comments