Files
tsgo/testdata/baselines/reference/submodule/compiler/es6DeclOrdering.js

32 lines
576 B
TypeScript

//// [tests/cases/compiler/es6DeclOrdering.ts] ////
//// [es6DeclOrdering.ts]
class Bar {
//public bar() { }
public foo() {
return this._store.length;
}
constructor(store: string) {
this._store = store; // this is an error for some reason? Unresolved symbol store
}
}
//// [es6DeclOrdering.js]
"use strict";
class Bar {
//public bar() { }
foo() {
return this._store.length;
}
constructor(store) {
this._store = store; // this is an error for some reason? Unresolved symbol store
}
}