Skip to main content

Type Alias: WriteGoodModule

type WriteGoodModule = (
text: string,
options?: Readonly<Record<PropertyKey, unknown>>
) => readonly WriteGoodModuleSuggestion[];

Defined in: _internal/write-good-module.d.ts:15

Upstream prose-lint function signature.

Parameters​

text​

string

options?​

Readonly<Record<PropertyKey, unknown>>

Returns​

readonly WriteGoodModuleSuggestion[]