UNPKG

tolk-codegen

Version:

## Example generator ### Create builder file in root folder ``builder.ts``

5 lines (4 loc) 249 B
import { Cell, Slice } from '@ton/core'; import { ClassConstructor } from '../type'; export declare function parseCell<T>(cell: Cell, type: ClassConstructor<T>): T; export declare function sliceParser<T>(slice: Slice, type: ClassConstructor<T>): T;