@platform/cell.typesystem
Version:
The 'strongly typed sheets' system of the CellOS.
14 lines (13 loc) • 456 B
TypeScript
import { t } from './common';
export declare type IArgs = {
typename: string;
typeDef: t.IColumnTypeDef<t.ITypeRef>;
ctx: t.SheetCtx;
};
export declare class TypedSheetRef<T, K extends keyof T> implements t.ITypedSheetRef<T, K> {
static create<T, K extends keyof T>(args: IArgs): TypedSheetRef<T, K>;
private constructor();
private readonly _ctx;
readonly typeDef: t.IColumnTypeDef<t.ITypeRef>;
readonly typename: string;
}