3 lines
75 B
TypeScript
3 lines
75 B
TypeScript
|
class Foo {
|
||
|
constructor(public x: number, public y: number = x) { }
|
||
|
}
|