Typeberry by Fluffy Labs - v0.4.0
    Preparing search index...

    Type Alias ClassConstructor<T>

    A constructor of basic data object that takes a Record<T>.

    type ClassConstructor<T> = {
        create: (o: CodecRecord<T>) => T;
        name: string;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    create: (o: CodecRecord<T>) => T
    name: string