Implement review
- lint member order - cleaner type coersion - specify access modifiers everywhere
This commit is contained in:
@@ -79,7 +79,7 @@ export default class QueryMatcher<T extends Object> {
|
||||
// type for their values. We assume that those values who's keys have
|
||||
// been specified will be string. Also, we cannot infer all the
|
||||
// types of the keys of the objects at compile.
|
||||
const keyValues: (string)[] = _at<T>(object as any, this._keys) as any;
|
||||
const keyValues = _at<string>(<any>object, this._keys);
|
||||
|
||||
for (const f of this._funcs) {
|
||||
keyValues.push(f(object));
|
||||
|
||||
Reference in New Issue
Block a user