mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
15 lines
215 B
TypeScript
15 lines
215 B
TypeScript
// @allowJs: true
|
|
// @noEmit: true
|
|
// @checkJs: true
|
|
|
|
// @Filename: file1.js
|
|
var SomeClass = function () {
|
|
this.otherProp = 0;
|
|
};
|
|
|
|
new SomeClass();
|
|
|
|
// @Filename: file2.js
|
|
class SomeClass { }
|
|
SomeClass.prop = 0
|