UNPKG

smart-types-ts

Version:

A collection of _Smart Types_ and _Smart Constructors_ which enable you to be more strict when defining your application's important types/interfaces.

4 lines (3 loc) 197 B
import { SmartConstructor, SmartConstructorOptional } from "./utilTypes"; declare const optional: <ST>(smartConstructor: SmartConstructor<ST>) => SmartConstructorOptional<ST>; export { optional };