UglifyJS/test/input/issue-3219/file.ts

17 lines
242 B
TypeScript
Raw Normal View History

2018-07-20 08:23:26 +00:00
interface ICar {
model: string
speed: number
cost: number
}
class Car implements ICar {
model: string = 'nice'
speed: number = 100
cost: number = 1000000
}
var myCar: Car = new Car()
myCar.cost += 1
const [blah, blah2] = [1,2]