Skip to content

Commit

Permalink
Fix typo error (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Rosenwasser <[email protected]>
  • Loading branch information
ccbond and DanielRosenwasser authored Nov 10, 2023
1 parent f9dadc8 commit 2e5d4b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validate.ts
Original file line number Diff line number Diff line change
@@ -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<T> { length: number, [n: number]: T }
interface Object { toString(): string }
Expand Down Expand Up @@ -29,7 +29,7 @@ export interface TypeChatJsonValidator<T extends object> {
* 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<string>` object if the conversion is
* successful, or an `Error` object if the JSON can't be transformed. The returned TypeScript source code is
Expand Down

0 comments on commit 2e5d4b0

Please sign in to comment.