@typescript-package/data
Version:
A lightweight TypeScript library for basic data management.
10 lines (9 loc) • 334 B
TypeScript
import { DataCore } from "../lib";
import { DataConstructor } from "../interface";
/**
* @description
* @export
* @template Value
* @template {DataCore<Value>} DataType
*/
export type DataConstructorInput<Value, DataType extends DataCore<Value>> = [DataConstructor<Value, DataType>, ...any[]] | DataConstructor<Value, DataType>;