TypeScript/tests/cases/compiler/es6DeclOrdering.ts

16 lines
243 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
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
}
}