Skip to content

Commit

Permalink
Add docs contents: notations and http
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Oct 21, 2023
1 parent 15a836f commit e1e69c1
Show file tree
Hide file tree
Showing 4 changed files with 1,390 additions and 189 deletions.
12 changes: 6 additions & 6 deletions website/pages/docs/json/stringify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import AlertTitle from '@mui/material/AlertTitle';
```typescript copy
export namespace json {
export function stringify<T>(input: T): string;
export function isStringify<T>(input: unknown | T): string | null;
export function assertStringify<T>(input: unknown | T): string;
export function validateStringify<T>(input: unknown | T): IValidation<string>;
export function isStringify<T>(input: T | unknown): string | null;
export function assertStringify<T>(input: T | unknown): string;
export function validateStringify<T>(input: T | unknown): IValidation<string>;
}
```
</Tab>
Expand Down Expand Up @@ -260,13 +260,13 @@ console.log(json); // not null, but string
export namespace json {
export function createStringify<T>: (input: T) => string;
export function createIsStringify<T>: (
input: unknown | T
input: T | unknown
) => string | null;
export function createAssertStringify<T>: (
input: unknown | T
input: T | unknown
) => string;
export function createValidateStringify<T>: (
input: unknown | T
input: T | unknown
) => IValidation<string>;
}
```
Expand Down
Loading

0 comments on commit e1e69c1

Please sign in to comment.