UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

7 lines (6 loc) 425 B
import { PageSeed } from '../Page.js'; import { Root } from '../Root.js'; export type MediaRoot<Children extends Record<string, PageSeed>> = Root<Children>; export declare const mediaRootId: unique symbol; export declare function isMediaRoot(root: any): root is MediaRoot<Record<string, PageSeed>>; export declare function createMediaRoot<Children extends Record<string, PageSeed>>(children?: Children): MediaRoot<Children>;