diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/schema_validator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/schema_validator.ts b/src/utils/schema_validator.ts index 41c4696d6..786dca624 100644 --- a/src/utils/schema_validator.ts +++ b/src/utils/schema_validator.ts @@ -11,7 +11,7 @@ export class SchemaValidator { // sub-types (e.g BigNumber) with a simpler string representation. Since BigNumber and other // complex types implement the `toString` method, we can stringify the object and // then parse it. The resultant object can then be checked using jsonschema. - private static convertToJSONSchemaCompatibleObject(obj: any): any { + static convertToJSONSchemaCompatibleObject(obj: any): any { return JSON.parse(JSON.stringify(obj)); } constructor() { |