mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +00:00
Quite similar to #256 and also uses its test, but also fixes the serializer and doesn't try to parse an untyped 'x => x'.
9 lines
196 B
TypeScript
9 lines
196 B
TypeScript
class MyClass {
|
|
constructor() {}
|
|
constructor(a: i32) {}
|
|
constructor(a: i32, b: i32) {}
|
|
}
|
|
class MyClassImplicit {
|
|
constructor(public a: i32, private readonly b?: i32 = 2, c?: i32 = 3) {}
|
|
}
|