@yesstudio/nuxt-composables
    Preparing search index...

    Type Alias ExtractPropTypes<O>

    ExtractPropTypes: {
        [K in keyof Pick<O, RequiredKeys<O>>]: O[K] extends { default: any }
            ? Exclude<InferPropType<O[K]>, undefined>
            : InferPropType<O[K]>
    } & { [K in keyof Pick<O, OptionalKeys<O>>]?: InferPropType<O[K]> }

    Extract prop types from a runtime props options object. The extracted types are internal - i.e. the resolved props received by the component.

    • Boolean props are always present
    • Props with default values are always present

    To extract accepted props from the parent, use ExtractPublicPropTypes.

    Type Parameters

    • O