summaryrefslogtreecommitdiff
path: root/std/path
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-07-08 19:26:39 +1000
committerGitHub <noreply@github.com>2020-07-08 11:26:39 +0200
commit82aabb657a8fbaf107e58214490fdd129db3ae6b (patch)
tree1b92a346f546c5e69c3abd879abdc7728adbc11c /std/path
parent862bc2ecae3d9c3f880201d2302ca869d911eb69 (diff)
feat: add --no-check option (#6456)
This commit adds a "--no-check" option to following subcommands: - "deno cache" - "deno info" - "deno run" - "deno test" The "--no-check" options allows to skip type checking step and instead directly transpiles TS sources to JS sources. This solution uses `ts.transpileModule()` API and is just an interim solution before implementing it fully in Rust.
Diffstat (limited to 'std/path')
-rw-r--r--std/path/_util.ts2
-rw-r--r--std/path/posix.ts2
-rw-r--r--std/path/win32.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/std/path/_util.ts b/std/path/_util.ts
index 8ae40373b..0c3253045 100644
--- a/std/path/_util.ts
+++ b/std/path/_util.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
/** This module is browser compatible. */
-import { FormatInputPathObject } from "./_interface.ts";
+import type { FormatInputPathObject } from "./_interface.ts";
import {
CHAR_UPPERCASE_A,
CHAR_LOWERCASE_A,
diff --git a/std/path/posix.ts b/std/path/posix.ts
index 1e78d1cfe..351ceb06e 100644
--- a/std/path/posix.ts
+++ b/std/path/posix.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
/** This module is browser compatible. */
-import { FormatInputPathObject, ParsedPath } from "./_interface.ts";
+import type { FormatInputPathObject, ParsedPath } from "./_interface.ts";
import { CHAR_DOT, CHAR_FORWARD_SLASH } from "./_constants.ts";
import {
diff --git a/std/path/win32.ts b/std/path/win32.ts
index bac43a61a..30482e453 100644
--- a/std/path/win32.ts
+++ b/std/path/win32.ts
@@ -2,7 +2,7 @@
// Ported from https://github.com/browserify/path-browserify/
/** This module is browser compatible. */
-import { FormatInputPathObject, ParsedPath } from "./_interface.ts";
+import type { FormatInputPathObject, ParsedPath } from "./_interface.ts";
import {
CHAR_DOT,
CHAR_BACKWARD_SLASH,