Documentation
    Preparing search index...

    Type Alias RequiredProperties<Type, Key>

    RequiredProperties: Type & { [Property in Key]-?: Type[Property] }
    type WithOptionals = {
    title: string;
    shortDescription?: string;
    description?: string;
    };

    type WithoutOptionals = RequiredProperties<WithOptionals, 'shortDescription' | 'description'>;

    Type Parameters

    • Type
    • Key extends keyof Type