UNPKG

@planjs/mobx-persist

Version:
6 lines (5 loc) 357 B
import type { Types } from './types'; declare function persist(type: Types, schema?: any): (target: Object, key: string, baseDescriptor?: PropertyDescriptor) => void; declare function persist(target: Object, key: string, baseDescriptor?: PropertyDescriptor): void; declare function persist(schema: Object): <T>(target: T) => T; export default persist;