Home > harper.js > Suggestion
A suggestion to fix a Lint.
Signature:
export declare class Suggestion
Method
Modifiers
Description
free()
from_json(json)
static
get_replacement_text()
Get the text that is going to replace the problematic section. If [Self::kind] is SuggestionKind::Remove, this will return an empty string.
Self::kind
SuggestionKind::Remove
kind()
to_json()