UNPKG

vue3-component-store

Version:
7 lines (5 loc) 317 B
import { ComputedRef } from 'vue' import {EmptyComponentStore, StoreFeature} from '../component-store.model' export function withComputed<Store extends EmptyComponentStore = EmptyComponentStore, WithComputed extends Record<string, ComputedRef> = {}>(feature: StoreFeature<Store, WithComputed >) { return feature }