TypeScript/tests/baselines/reference/es6DeclOrdering.errors.txt
2014-09-11 16:11:08 -07:00

21 lines
558 B
Plaintext

==== tests/cases/compiler/es6DeclOrdering.ts (2 errors) ====
class Bar {
//public bar() { }
public foo() {
return this._store.length;
~~~~~~
!!! error TS2339: Property '_store' does not exist on type 'Bar'.
}
constructor(store: string) {
this._store = store; // this is an error for some reason? Unresolved symbol store
~~~~~~
!!! error TS2339: Property '_store' does not exist on type 'Bar'.
}
}