summaryrefslogtreecommitdiff
path: root/cli/js/web/dom_file.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/web/dom_file.ts')
-rw-r--r--cli/js/web/dom_file.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/js/web/dom_file.ts b/cli/js/web/dom_file.ts
index 7aa3fccd0..792d96dd1 100644
--- a/cli/js/web/dom_file.ts
+++ b/cli/js/web/dom_file.ts
@@ -1,15 +1,14 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import * as domTypes from "./dom_types.d.ts";
import * as blob from "./blob.ts";
-export class DomFileImpl extends blob.DenoBlob implements domTypes.DomFile {
+export class DomFileImpl extends blob.DenoBlob implements File {
lastModified: number;
name: string;
constructor(
fileBits: BlobPart[],
fileName: string,
- options?: domTypes.FilePropertyBag
+ options?: FilePropertyBag
) {
const { lastModified = Date.now(), ...blobPropertyBag } = options ?? {};
super(fileBits, blobPropertyBag);