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

    Interface LegacyOptions<Props, D, C, M, Mixin, Extends, I, II, Provide>

    interface LegacyOptions<
        Props,
        D,
        C extends ComputedOptions,
        M extends MethodOptions,
        Mixin extends ComponentOptionsMixin,
        Extends extends ComponentOptionsMixin,
        I extends ComponentInjectOptions,
        II extends string,
        Provide extends ComponentProvideOptions = ComponentProvideOptions,
    > {
        __differentiator?: keyof D | keyof C | keyof M;
        compatConfig?: CompatConfig;
        computed?: C;
        data?: (
            this: CreateComponentPublicInstanceWithMixins<
                Props,
                {},
                {},
                {},
                MethodOptions,
                Mixin,
                Extends,
            >,
            vm: CreateComponentPublicInstanceWithMixins<
                Props,
                {},
                {},
                {},
                MethodOptions,
                Mixin,
                Extends,
            >,
        ) => D;
        delimiters?: [string, string];
        errorCaptured?: ErrorCapturedHook<unknown>;
        extends?: Extends;
        filters?: Record<string, Function>;
        inject?: I | II[];
        methods?: M;
        mixins?: Mixin[];
        provide?: Provide;
        renderTracked?: DebuggerHook;
        renderTriggered?: DebuggerHook;
        watch?: ComponentWatchOptions;
        activated?(): any;
        beforeCreate?(): any;
        beforeDestroy?(): any;
        beforeMount?(): any;
        beforeUnmount?(): any;
        beforeUpdate?(): any;
        created?(): any;
        deactivated?(): any;
        destroyed?(): any;
        mounted?(): any;
        unmounted?(): any;
        updated?(): any;
        [key: string]: any;
    }

    Type Parameters

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    __differentiator?: keyof D | keyof C | keyof M

    #3468

    type-only, used to assist Mixin's type inference, typescript will try to simplify the inferred Mixin type, with the __differentiator, typescript won't be able to combine different mixins, because the __differentiator will be different

    compatConfig?: CompatConfig
    computed?: C
    data?: (
        this: CreateComponentPublicInstanceWithMixins<
            Props,
            {},
            {},
            {},
            MethodOptions,
            Mixin,
            Extends,
        >,
        vm: CreateComponentPublicInstanceWithMixins<
            Props,
            {},
            {},
            {},
            MethodOptions,
            Mixin,
            Extends,
        >,
    ) => D
    delimiters?: [string, string]

    runtime compile only

    use compilerOptions.delimiters instead.

    errorCaptured?: ErrorCapturedHook<unknown>
    extends?: Extends
    filters?: Record<string, Function>
    inject?: I | II[]
    methods?: M
    mixins?: Mixin[]
    provide?: Provide
    renderTracked?: DebuggerHook
    renderTriggered?: DebuggerHook

    Methods

    • Returns any

    • Returns any

    • Returns any

      use beforeUnmount instead

    • Returns any

    • Returns any

    • Returns any

    • Returns any

    • Returns any

    • Returns any

      use unmounted instead

    • Returns any

    • Returns any

    • Returns any