3.1.5 • Published 2 years ago

@types/jsan v3.1.5

Weekly downloads
864
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/jsan

Summary

This package contains type definitions for jsan (https://github.com/kolodny/jsan).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsan.

index.d.ts

// Type definitions for jsan 3.1
// Project: https://github.com/kolodny/jsan
// Definitions by: Nathan Bierema <https://github.com/Methuselah96>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export interface Options {
    date?: boolean;
    function?: boolean;
    regex?: boolean;
    undefined?: boolean;
    error?: boolean;
    symbol?: boolean;
    map?: boolean;
    set?: boolean;
    nan?: boolean;
    infinity?: boolean;
    refs?: boolean;
    circular?: unknown;
}

export function stringify(
    value: unknown,
    replacer?: (key: string, value: unknown) => unknown | Array<number | string> | null,
    space?: string | number,
    _options?: Options | boolean
): string;

export function parse(
    text: string,
    reviver?: (key: string, value: unknown) => unknown
): unknown;

Additional Details

  • Last updated: Wed, 21 Jul 2021 19:31:18 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Nathan Bierema.

3.1.3

2 years ago

3.1.5

2 years ago

3.1.4

2 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

5 years ago