From 82aabb657a8fbaf107e58214490fdd129db3ae6b Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Wed, 8 Jul 2020 19:26:39 +1000 Subject: 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. --- std/path/_util.ts | 2 +- std/path/posix.ts | 2 +- std/path/win32.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'std/path') 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, -- cgit v1.2.3