Home > harper.js > LocalLinter > applySuggestion

LocalLinter.applySuggestion() method

Signature:

applySuggestion(text: string, lint: Lint, suggestion: Suggestion): Promise<string>;

Parameters

Parameter

Type

Description

text

string

lint

Lint

suggestion

Suggestion

Returns:

Promise<string>