UNPKG

type-r2

Version:

Serializable, validated, and observable data layer for modern JS applications

5 lines (4 loc) 262 B
import { Collection } from '../collection'; import { Record } from '../record'; export type CollectionReference = (() => Collection) | Collection | string; export declare function parseReference(collectionRef: CollectionReference): (root: Record) => Collection;