Skip to content

Commit

Permalink
Merge pull request #1195 from miyaji255/fix-reusable-stringify-docs
Browse files Browse the repository at this point in the history
Fix: reusable stringify docs
  • Loading branch information
samchon authored Aug 4, 2024
2 parents 59cc5ea + 152a3fd commit 033eac5
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions website/pages/docs/json/stringify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,12 @@ console.log(json); // not null, but string
<Tab>
```typescript copy
export namespace json {
export function createStringify<T>: (input: T) => string;
export function createIsStringify<T>: (
input: T | unknown
) => string | null;
export function createAssertStringify<T>: (
input: T | unknown
) => string;
export function createValidateStringify<T>: (
input: T | unknown
) => IValidation<string>;
export function createStringify<T>(): (input: T) => string;
export function createIsStringify<T>(): (input: unknown) => string | null;
export function createAssertStringify<T>(
errorFactory?: undefined | ((props: TypeGuardError.IProps) => Error),
): (input: unknown) => string;
export function createValidateStringify<T>(): (input: unknown) => IValidation<string>;
}
```
</Tab>
Expand Down

0 comments on commit 033eac5

Please sign in to comment.