25 lines
No EOL
783 B
Text
25 lines
No EOL
783 B
Text
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'.
|
|
|
|
}
|
|
}
|
|
|
|
|