mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
13 lines
179 B
TypeScript
13 lines
179 B
TypeScript
|
class C {
|
||
|
foo: string;
|
||
|
constructor(x = 1); // error
|
||
|
constructor() {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class D<T> {
|
||
|
foo: string;
|
||
|
constructor(x = 1); // error
|
||
|
constructor() {
|
||
|
}
|
||
|
}
|