fewer
Version:
A minimal ORM for Node.js.
13 lines (12 loc) • 369 B
TypeScript
import { INTERNAL_TYPES } from './types';
export interface BaseConfig {
nonNull?: boolean;
}
export default class ColumnType<T = any, Config extends BaseConfig = any> {
readonly [INTERNAL_TYPES.INTERNAL_TYPE]: T;
$$type: T;
name: string;
reflectName: string;
config?: Config;
constructor(name: string, config?: any, reflectName?: string);
}