From 6cc998f28bb1cf119ca96bac385c7361bc1f7021 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 23 Dec 2018 11:44:08 -0500 Subject: Remove support for extensionless import (#1396) --- js/util.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/util.ts') diff --git a/js/util.ts b/js/util.ts index c5197164e..53de68c30 100644 --- a/js/util.ts +++ b/js/util.ts @@ -103,15 +103,15 @@ export function containsOnlyASCII(str: string): boolean { return /^[\x00-\x7F]*$/.test(str); } -// @internal export interface Deferred { promise: Promise; resolve: Function; reject: Function; } -/** Create a wrapper around a promise that could be resolved externally. */ -// @internal +/** Create a wrapper around a promise that could be resolved externally. + * TODO Do not expose this from "deno" namespace. + */ export function deferred(): Deferred { let resolve: Function | undefined; let reject: Function | undefined; -- cgit v1.2.3