Skip to content
module@warp-drive/legacy/compat/utils @legacy
ts
function configureMismatchReporter(fn): void;

Defined in: warp-drive-packages/legacy/src/compat/utils.ts:41

Configure a function to be called when an id or type changes during normalization. This is useful for instrumenting to discover places where usage in the app is not consistent.

Parameters

fn

Reporter

a function which takes a mismatch-type ('formatted-id' | 'formatted-type'), actual, and expected value

Returns

void

Released under the MIT License.