import type { Func } from "hry-types/src/Misc/Func"; import type { WMCompPageLifetimes, WMPageLifetimes } from "../../types/OfficialTypeAlias"; import type { LifetimesConstraint } from "./Lifetimes/LifetimesConstraint"; type _RootComponentDoc = { isPage?: boolean; properties?: object; data?: object; computed?: object; customEvents?: object; methods?: object; events?: object; store?: object; watch?: Record; lifetimes?: LifetimesConstraint; pageLifetimes?: Partial; }; type _Validator> = [ErrKeys] extends [never] ? _RootComponentDoc : `错误的字段${ErrKeys & string}`; export type RootComponentDoc = _RootComponentDoc> = O; export {};