PokéRogue
    Preparing search index...

    Type Alias CoercePropertiesToUnknown<T>

    CoercePropertiesToUnknown: { [K in keyof T]: unknown }

    Renders all properties of T as unknown, while keeping the same keys.

    Type Parameters

    • T extends object

    The purpose of this is merely to provide a hint as to what the properties of an object might be, without any risk of accidentally using said properties improperly.

    Designed to be used for data migration.

    Allows for autocomplete to populate fields of the object with candidates.