mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +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
|