wip
This commit is contained in:
@@ -33,6 +33,10 @@ export default class Resolver {
|
||||
}
|
||||
|
||||
public async resolve(value): Promise<IObject> {
|
||||
if (value == null) {
|
||||
throw new Error('resolvee is null (or undefined)');
|
||||
}
|
||||
|
||||
if (typeof value !== 'string') {
|
||||
return value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user