@types/json-to-go
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Installation

npm install --save @types/json-to-go

Summary

This package contains type definitions for json-to-go (https://github.com/kduprey/json-to-go/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-to-go.

interface JsonToGoResult {
    go: string;
    error: string;
}

declare function jsonToGo(
    json: string,
    typename: string,
    flatten: boolean,
    example: boolean,
    allOmitEmpty: boolean,
): JsonToGoResult;
declare function jsonToGo(json: string, typename: string, flatten: boolean, example: boolean): JsonToGoResult;
declare function jsonToGo(json: string, typename: string, flatten: boolean): JsonToGoResult;
declare function jsonToGo(json: string, typename: string): JsonToGoResult;

export = jsonToGo;

Additional Details

  • Last updated: Thu, 01 Aug 2024 15:07:24 GMT
  • Dependencies: none

Credits

These definitions were written by LemonNeko.

/@types/json-to-go/

    Package Sidebar

    Install

    npm i @types/json-to-go

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.59 kB

    Total Files

    5

    Last publish

    Collaborators

    • types