Skip to main content

Function: assertValidSyncDeviceId()

function assertValidSyncDeviceId(deviceId: unknown): asserts deviceId is string;

Defined in: electron/services/sync/providerKeyValidation.ts:171

Validates a persisted cloud sync device identifier.

Parameters

deviceId

unknown

Returns

asserts deviceId is string

Remarks

Keeps historical error messages stable so existing tests and telemetry comparisons do not regress.