diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-19 21:44:40 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-19 22:41:49 +0800 |
commit | 85a8c6160f046ad5b5e33d30fc7a71abea3ecf33 (patch) | |
tree | 93a4779119339c04a82f62f7fc35aa71db27f74c | |
parent | e2535027e92206356d9dde80978edf64f00a50d4 (diff) | |
download | dexon-sol-tools-85a8c6160f046ad5b5e33d30fc7a71abea3ecf33.tar.gz dexon-sol-tools-85a8c6160f046ad5b5e33d30fc7a71abea3ecf33.tar.zst dexon-sol-tools-85a8c6160f046ad5b5e33d30fc7a71abea3ecf33.zip |
Mark the field as readonly
-rw-r--r-- | packages/sol-resolver/src/resolvers/spy_resolver.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-resolver/src/resolvers/spy_resolver.ts b/packages/sol-resolver/src/resolvers/spy_resolver.ts index 3fd62985b..b31ecfe1d 100644 --- a/packages/sol-resolver/src/resolvers/spy_resolver.ts +++ b/packages/sol-resolver/src/resolvers/spy_resolver.ts @@ -6,7 +6,7 @@ import { Resolver } from './resolver'; export class SpyResolver extends Resolver { public resolvedContractSources: ContractSource[] = []; - private _resolver: Resolver; + private readonly _resolver: Resolver; constructor(resolver: Resolver) { super(); this._resolver = resolver; |