fable-compiler.github.io icon indicating copy to clipboard operation
fable-compiler.github.io copied to clipboard

Documents `NamedParams` attributes for Python

Open MangelMaxime opened this issue 1 year ago • 0 comments

module Json =

    [<Erase>]
    type IExports =
        [<NamedParams(1)>]
        abstract dumps:
            obj: obj * ?separators: string array * ?indent: int -> string

    [<ImportAll("json")>]
    let json: IExports = nativeOnly

    [<Import("JSONDecodeError", "json")>]
    type JSONDecodeError() =
        inherit Exception()

MangelMaxime avatar Apr 03 '24 14:04 MangelMaxime