Open
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;
}
}