aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/node_modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/node_modules')
-rw-r--r--src/client/util/node_modules/type_decls.d7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/util/node_modules/type_decls.d b/src/client/util/node_modules/type_decls.d
index 1a93bbe59..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;
@@ -198,6 +200,9 @@ declare class InkField extends ObjectField {
constructor(data:Array<{X:number, Y:number}>);
[Copy](): ObjectField;
}
+declare class DocumentDragData {
+ constructor(dragDoc: Doc[], dropAction?: string);
+}
// @ts-ignore
declare const console: any;