16 lines
329 B
TypeScript
16 lines
329 B
TypeScript
import { ZeroSchema } from "zero/schemas";
|
|
import { Zero } from "./types/zero";
|
|
|
|
declare module '@vue/runtime-core'
|
|
{
|
|
export interface ComponentCustomProperties
|
|
{
|
|
/**
|
|
* zero instance
|
|
*/
|
|
zero: Zero
|
|
}
|
|
}
|
|
|
|
declare type Lazy<T> = () => Promise<T>;
|
|
declare type ZeroSchemaProp = ZeroSchema | Lazy<ZeroSchema>; |