waygraph / PageHandle
Type Alias: PageHandle<Name>
PageHandle<
Name> =Pick<PageSelf<Checkpoint<Name>,Record<never,never>,undefined>,"method"|"checkpoint">
Defined in: src/engine/block/kinds/page.ts:94
What a Method kept in its own file takes: the page's name, so the file imports only this type (not the page, which imports the Method). export const signIn = (page: PageHandle<"Login">) => page.method({ async act(p) { ... } }).
Type Parameters
Name
Name extends string