aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/node_modules
diff options
context:
space:
mode:
authorgeireann <geireann.lindfield@gmail.com>2025-03-06 11:56:56 -0500
committergeireann <geireann.lindfield@gmail.com>2025-03-06 11:56:56 -0500
commitadaa107aac8558fa6f46e6ba1263c650c212d506 (patch)
tree8a33b8417b46455ae58ee30f9e00da7502249d82 /src/client/util/node_modules
parent28792ad2da9f5dfab96f98f34a11136bd1453e0f (diff)
fixed compioling functions with DateFields
Diffstat (limited to 'src/client/util/node_modules')
-rw-r--r--src/client/util/node_modules/type_decls.d4
1 files changed, 3 insertions, 1 deletions
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;