TypeScript/tests/baselines/reference/es6DeclOrdering.errors.txt
2014-09-12 13:35:07 -07:00

25 lines
783 B
Plaintext

tests/cases/compiler/es6DeclOrdering.ts(6,20): error TS2339: Property '_store' does not exist on type 'Bar'.
tests/cases/compiler/es6DeclOrdering.ts(11,13): error TS2339: Property '_store' does not exist on type 'Bar'.
==== 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'.
}
}