-
Notifications
You must be signed in to change notification settings - Fork 662
Open
Labels
Domain: EmitRelated to emit, AST printing, Program emit funcsRelated to emit, AST printing, Program emit funcs
Description
hoping for some pointers on how to start about fixing this:
❯ cat test.ts
class Point {
x: number = 2;
y: number;
}
❯ tsgo tsc -t es2020 /tmp/test.ts && cat /tmp/test.js
Files: 52
Types: 17794
class Point {
x = 2;
y;
}
❯ npx --package typescript tsc -t es2020 /tmp/test.ts && cat /tmp/test.js
class Point {
constructor() {
this.x = 2;
}
}
Metadata
Metadata
Assignees
Labels
Domain: EmitRelated to emit, AST printing, Program emit funcsRelated to emit, AST printing, Program emit funcs