We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export const v: (value?: string) => string;
==>
let [<Import(...)>] v: (string -> string) = jsNative
Parameter isn't optional any more, should be string option.
string option
export interface I { f(value?: string): string; readonly v: (value?: string) => string; fl(f: (value?: string) => string): void } export namespace N { function f(value?: string): string; const v: (value?: string) => string; function fl(f: (value?: string) => string): void } export function f(value?: string): string; export const v: (value?: string) => string; function fl(f: (value?: string) => string): void
let [<Import("N","module")>] n: N.IExports = jsNative let [<Import("v","module")>] v: (string -> string) = jsNative type [<AllowNullLiteral>] IExports = abstract f: ?value: string -> string abstract fl: f: (string -> string) -> unit type [<AllowNullLiteral>] I = abstract f: ?value: string -> string abstract v: (string -> string) abstract fl: f: (string -> string) -> unit module N = type [<AllowNullLiteral>] IExports = abstract f: ?value: string -> string abstract v: (string -> string) abstract fl: f: (string -> string) -> unit
The text was updated successfully, but these errors were encountered:
No branches or pull requests
==>
Parameter isn't optional any more, should be
string option
.more examples
==>
The text was updated successfully, but these errors were encountered: