ping-identity
    Preparing search index...

    Type Alias DeviceOf<K>

    DeviceOf: DeviceByKind[K]

    Resolves the concrete device type for a given device kind key.

    Type Parameters

    The constraint is keyof DeviceByKind (not DeviceKind) because DeviceKind was widened with | (string & {}) for semver safety. Use a string literal or keyof DeviceByKind directly — DeviceOf<DeviceKind> will not compile.

    type T = DeviceOf<'bound'>; // BoundDevice
    type U = DeviceOf<keyof DeviceByKind>; // union of all device types