vue-h5-template/types/utils.d.ts
2022-05-17 18:57:32 +08:00

6 lines
137 B
TypeScript

import type { ComputedRef, Ref } from 'vue';
export type DynamicProps<T> = {
[P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
};