TypeScript Version: 2.9.0-dev.20180518
Search Terms:
Code
import*astsfrom'typescript';functiongetTypeParameters(node: ts.DeclarationWithTypeParameters){returnnode.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:
caused by #23947Nathan Shively-Sanders (@sandersn)
TypeScript Version: 2.9.0-dev.20180518
Search Terms:
Code
Expected behavior:
No compile error. This used to work in 2.9.0-rc
Actual behavior:
Playground Link: not possible
Related Issues:
caused by #23947Nathan Shively-Sanders (@sandersn)