8 lines
307 B
TypeScript
8 lines
307 B
TypeScript
import type { Minify } from "./minify.ts";
|
|
|
|
/** Fallback view contracts. Project contracts are generated under `_muddle/contracts`. */
|
|
export interface ViewProps {
|
|
[path: string]: Record<string, unknown>;
|
|
}
|
|
export type ViewPath = string;
|
|
export type ViewPropsOf<P extends ViewPath> = Minify<ViewProps[P]>;
|