Skip to main content

Function: findGeneratedIds()

findGeneratedIds(__namedParameters): Promise<GeneratedIdViolation[]>

Defined in: extract.ts:42

Messages in explicitIds files that rely on a content-hash id. Those files hold references that are persisted, and a hashed id changes whenever the source text does, orphaning every stored reference.

Parameters​

ParameterType
__namedParameters{ cwd?: string; explicitIds: string[]; ignore: string[]; }
__namedParameters.cwd?string
__namedParameters.explicitIdsstring[]
__namedParameters.ignorestring[]

Returns​

Promise<GeneratedIdViolation[]>