-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
Domain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
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:
Metadata
Metadata
Assignees
Labels
Domain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue