UNPKG

nestjs-api-tools

Version:

Wrappers for convenient API development including validation, logging and i18n wrappers

12 lines (10 loc) 229 B
import {Column, ColumnOptions} from 'typeorm'; /** * Entity options. * @param options */ export const Jsonb = (options?: ColumnOptions): PropertyDecorator => Column({ type: 'jsonb', default: {}, ...(options || {}), });