Closed
Description
TypeScript Version: 2.9.0-dev.20180518
Search Terms:
Code
import * as ts from 'typescript';
function getTypeParameters(node: ts.DeclarationWithTypeParameters) {
return node.typeParameters;
}
Expected behavior:
No compile error. This used to work in 2.9.0-rc
Actual behavior:
Property 'typeParameters' does not exist on type 'DeclarationWithTypeParameters'.
Property 'typeParameters' does not exist on type 'JSDocTypedefTag'.
Playground Link: not possible
Related Issues: