-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
TypeScript Version: 3.0.0-dev.20180602
Search Terms:
import types with decorator
Code
export class A {
@test
b: import('./b').B
}
// tsconfig.json:
{
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
...
}Expected behavior:
- compile success
- the
design:typeof propertybisB.
Actual behavior:
when tsc output:
Error: Debug Failure. Unexpected node.
Node 179 was unexpected.Playground Link:
N/A
Related Issues:
N/A
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue