diff --git a/src/validate.ts b/src/validate.ts index 266138b1..53fe9584 100644 --- a/src/validate.ts +++ b/src/validate.ts @@ -1,5 +1,5 @@ import * as ts from 'typescript'; -import { Result, success, error, Success } from './result'; +import { Result, success, error } from './result'; const libText = `interface Array { length: number, [n: number]: T } interface Object { toString(): string } @@ -29,7 +29,7 @@ export interface TypeChatJsonValidator { * them. The default for this property is `false`, but an application can set the property to `true` for schemas * that don't permit null values. */ - stripNulls: boolean; + stripNulls: boolean; /** * Transform JSON into TypeScript code for validation. Returns a `Success` object if the conversion is * successful, or an `Error` object if the JSON can't be transformed. The returned TypeScript source code is