Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SuggestResult

interface SuggestResult {
resolveReplacement: (suggestion: string) => Replacement;
suggestions: [string, string][];
}

§Properties

§
resolveReplacement: (suggestion: string) => Replacement
[src]

The function to convert the selected suggestion back. Needs to pass in the original one.

§
suggestions: [string, string][]
[src]

The generated suggestions

[original, formatted]