( modifiers: readonly modifierKeys[] | readonly ts.Modifier[] | undefined, name: ts.Identifier | string, typeParameters: ts.TypeParameterDeclaration[] | undefined, type: ts.TypeNode )
| 125 | } |
| 126 | |
| 127 | export function aliasDecl( |
| 128 | modifiers: readonly modifierKeys[] | readonly ts.Modifier[] | undefined, |
| 129 | name: ts.Identifier | string, |
| 130 | typeParameters: ts.TypeParameterDeclaration[] | undefined, |
| 131 | type: ts.TypeNode |
| 132 | ): ts.TypeAliasDeclaration { |
| 133 | // (modifiers: readonly ModifierLike[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration; |
| 134 | return ts.factory.createTypeAliasDeclaration( |
| 135 | modifiers?.map((m) => modifier(m)), |
| 136 | identifier(name), |
| 137 | typeParameters, // Generics |
| 138 | type // Type |
| 139 | ); |
| 140 | } |
| 141 | |
| 142 | export function typeParameterDeclaration( |
| 143 | modifiers: readonly modifierKeys[] | readonly ts.Modifier[] | undefined, |
nothing calls this directly
no test coverage detected
searching dependent graphs…