summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-30 13:54:56 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-30 14:41:55 -0400
commit0ec629d10555ad617f3ebbafcb3276a9d96a8a86 (patch)
tree130c26ca2b6c09abc92ac897e1ae599f40f5b956 /js
parent2dd9a8d02886dcf7d988f302d890c35f8b4f7fd7 (diff)
format
Diffstat (limited to 'js')
-rw-r--r--js/fetch_types.d.ts2
-rw-r--r--js/os.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/fetch_types.d.ts b/js/fetch_types.d.ts
index ebe2c70be..4f77b5bd1 100644
--- a/js/fetch_types.d.ts
+++ b/js/fetch_types.d.ts
@@ -145,7 +145,7 @@ interface File extends Blob {
declare var File: {
prototype: File;
- new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
+ new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;
};
interface FilePropertyBag extends BlobPropertyBag {
diff --git a/js/os.ts b/js/os.ts
index f0f8897cc..46385c493 100644
--- a/js/os.ts
+++ b/js/os.ts
@@ -187,7 +187,7 @@ export class FileInfo {
this.len = this._msg.len().toFloat64();
this.modified = this._msg.modified().toFloat64();
this.accessed = this._msg.accessed().toFloat64();
- this.created = created ? created: null;
+ this.created = created ? created : null;
}
isFile() {