UNPKG

type-r2

Version:

Serializable, validated, and observable data layer for modern JS applications

21 lines (20 loc) 590 B
import { Integer } from "type-r/ext-types"; import { ChainableAttributeSpec } from "type-r"; declare global { interface Function { value: (x: any) => ChainableAttributeSpec<any>; isRequired: ChainableAttributeSpec<any>; asProp: PropertyDecorator; has: ChainableAttributeSpec<any>; } interface DateConstructor { microsoft: ChainableAttributeSpec<this>; timestamp: ChainableAttributeSpec<this>; } interface Window { Integer: Function; } interface NumberConstructor { integer: typeof Integer; } }