Add a comment for SpyResolver

This commit is contained in:
Leonid Logvinov 2018-12-19 15:33:25 +01:00
parent 85be2fbf19
commit 0abf1c71f6
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -4,6 +4,10 @@ import { ContractSource } from '../types';
import { Resolver } from './resolver';
/**
* This resolver is a passthrough proxy to any resolver that records all the resolved contracts sources.
* You can access them later using the `resolvedContractSources` public field.
*/
export class SpyResolver extends Resolver {
public resolvedContractSources: ContractSource[] = [];
private readonly _resolver: Resolver;