Better log

This commit is contained in:
syuilo
2019-03-04 14:02:42 +09:00
parent 606cc85ff5
commit 737064da82
2 changed files with 11 additions and 1 deletions

View File

@@ -13,6 +13,10 @@ export default class Resolver {
this.history = new Set();
}
public getHistory(): string[] {
return Array.from(this.history);
}
public async resolveCollection(value: any) {
const collection = typeof value === 'string'
? await this.resolve(value)