From adaa107aac8558fa6f46e6ba1263c650c212d506 Mon Sep 17 00:00:00 2001 From: geireann Date: Thu, 6 Mar 2025 11:56:56 -0500 Subject: fixed compioling functions with DateFields --- src/client/util/node_modules/type_decls.d | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client/util/node_modules') diff --git a/src/client/util/node_modules/type_decls.d b/src/client/util/node_modules/type_decls.d index 9058b4394..8605b9f5b 100644 --- a/src/client/util/node_modules/type_decls.d +++ b/src/client/util/node_modules/type_decls.d @@ -67,8 +67,9 @@ interface RegExp { readonly sticky: boolean; readonly unicode: boolean; } -interface Date { +declare class Date { now() : string; + constructor(date:string); } interface String { codePointAt(pos: number): number | undefined; @@ -170,6 +171,7 @@ declare class VideoField extends URLField { [Copy](): ObjectField; } declare class ImageField extends URLField { [Copy](): ObjectField; } declare class WebField extends URLField { [Copy](): ObjectField; } declare class PdfField extends URLField { [Copy](): ObjectField; } +declare class DateField extends URLField { [Copy](): ObjectField; constructor(date:Date); } declare const ComputedField: any; declare const CompileScript: any; -- cgit v1.2.3-70-g09d2