UNPKG

web-atoms-core

Version:
8 lines 439 B
import { IDisposable } from "../core/types"; export interface IAtomViewModel { setupWatch(ft: () => any, proxy?: () => any, forValidation?: boolean, name?: string): IDisposable; } export declare type viewModelInit = (vm: any) => void; export declare type viewModelInitFunc = (target: any, key: string | symbol) => void; export declare function registerInit(target: any, fx: viewModelInit): void; //# sourceMappingURL=baseTypes.d.ts.map