You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Register a signature help provider. * * Multiple providers can be registered for a language. In that case providers are sorted * by their {@link languages.match score} and called sequentially until a provider returns a * valid result. * * @param selector A selector that defines the documents this provider is applicable to. * @param provider A signature help provider. * @param triggerCharacters Trigger signature help when the user types one of the characters, like `,` or `(`. * @param metadata Information about the provider. * @return A {@link Disposable} that unregisters this provider when being disposed. */exportfunctionregisterSignatureHelpProvider(selector: DocumentSelector,provider: SignatureHelpProvider, ...triggerCharacters: string[]): Disposable;exportfunctionregisterSignatureHelpProvider(selector: DocumentSelector,provider: SignatureHelpProvider,metadata: SignatureHelpProviderMetadata): Disposable;
ts2fable 0.8.0-build.616 generates the following F#:
/// <summary>/// Register a signature help provider./// /// Multiple providers can be registered for a language. In that case providers are sorted/// by their <see cref="languages.match">score</see> and called sequentially until a provider returns a/// valid result./// </summary>/// <param name="selector">A selector that defines the documents this provider is applicable to.</param>/// <param name="provider">A signature help provider.</param>/// <param name="triggerCharacters">Trigger signature help when the user types one of the characters, like <c>,</c> or <c>(</c>.</param>/// <param name="metadata">Information about the provider.</param>/// <returns>A <see cref="Disposable" /> that unregisters this provider when being disposed.</returns>abstractregisterSignatureHelpProvider: selector:DocumentSelector* provider:SignatureHelpProvider*[<ParamArray>] triggerCharacters:string[]->DisposableabstractregisterSignatureHelpProvider: selector:DocumentSelector* provider:SignatureHelpProvider* metadata:SignatureHelpProviderMetadata->Disposable
the problem here is that the TS intended for the jsdoc to contain the superset of parameters for both overloads, but that superset has only been attached to the top overload in F#. it also has all parameters, which causes warnings.
The text was updated successfully, but these errors were encountered:
given the following TS:
ts2fable 0.8.0-build.616 generates the following F#:
the problem here is that the TS intended for the jsdoc to contain the superset of parameters for both overloads, but that superset has only been attached to the top overload in F#. it also has all parameters, which causes warnings.
The text was updated successfully, but these errors were encountered: