From 7038ee09e520cee204f467bf1f0da254f739abb8 Mon Sep 17 00:00:00 2001 From: Deadly0 Date: Mon, 5 Nov 2018 10:04:19 +0300 Subject: [PATCH] Remove DefaultFunc type. --- types/meteor-astronomy/index.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/types/meteor-astronomy/index.d.ts b/types/meteor-astronomy/index.d.ts index c29c5c408c..321509a096 100644 --- a/types/meteor-astronomy/index.d.ts +++ b/types/meteor-astronomy/index.d.ts @@ -25,14 +25,12 @@ interface Validator { param: any; } -type DefaultFunc = () => T; - interface ModelFullField { type: TypeOptions; optional?: boolean; transient?: boolean; immutable?: boolean; - default?: Field | DefaultFunc; + default?: () => Field | Field; index?: string | number; validators?: Validator[]; resolve?: (doc: Doc) => Field;