2016-12-23 22:31:38 +03:00
|
|
|
exports[`test constructor.js 1`] = `
|
|
|
|
"class C {
|
|
|
|
constructor() { }
|
|
|
|
}
|
|
|
|
|
|
|
|
class D {
|
|
|
|
constructor():number { }
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = C;
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
class C {
|
2016-12-31 07:01:07 +03:00
|
|
|
constructor() {}
|
2016-12-23 22:31:38 +03:00
|
|
|
}
|
2017-01-10 05:49:06 +03:00
|
|
|
|
2016-12-23 22:31:38 +03:00
|
|
|
class D {
|
2016-12-31 07:01:07 +03:00
|
|
|
constructor(): number {}
|
2016-12-23 22:31:38 +03:00
|
|
|
}
|
2017-01-10 05:49:06 +03:00
|
|
|
|
|
|
|
module.exports = C;"
|
2016-12-23 22:31:38 +03:00
|
|
|
`;
|