summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/glob.ts1
-rw-r--r--fs/glob_test.ts2
-rw-r--r--fs/walk.ts2
-rw-r--r--fs/walk_test.ts2
4 files changed, 3 insertions, 4 deletions
diff --git a/fs/glob.ts b/fs/glob.ts
index 8c64c45b3..4d4ccc7ce 100644
--- a/fs/glob.ts
+++ b/fs/glob.ts
@@ -1,4 +1,3 @@
-import { FileInfo } from "deno";
import { globrex } from "./globrex.ts";
export interface GlobOptions {
diff --git a/fs/glob_test.ts b/fs/glob_test.ts
index 8691d2c33..2dc509dee 100644
--- a/fs/glob_test.ts
+++ b/fs/glob_test.ts
@@ -1,5 +1,5 @@
const { mkdir, open } = Deno;
-import { FileInfo } from "deno";
+type FileInfo = Deno.FileInfo;
import { test } from "../testing/mod.ts";
import { assertEquals } from "../testing/asserts.ts";
import { glob } from "./glob.ts";
diff --git a/fs/walk.ts b/fs/walk.ts
index c76803a2e..24c800e59 100644
--- a/fs/walk.ts
+++ b/fs/walk.ts
@@ -1,5 +1,5 @@
const { readDir, readDirSync, readlink, readlinkSync, stat, statSync } = Deno;
-import { FileInfo } from "deno";
+type FileInfo = Deno.FileInfo;
export interface WalkOptions {
maxDepth?: number;
diff --git a/fs/walk_test.ts b/fs/walk_test.ts
index 7e6384a60..93073c620 100644
--- a/fs/walk_test.ts
+++ b/fs/walk_test.ts
@@ -1,5 +1,5 @@
const { cwd, chdir, makeTempDir, mkdir, open, build, remove, symlink } = Deno;
-import { FileInfo } from "deno";
+type FileInfo = Deno.FileInfo;
import { walk, walkSync, WalkOptions } from "./walk.ts";
import { test, TestFunction } from "../testing/mod.ts";
import { assert, assertEquals } from "../testing/asserts.ts";