diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-12-23 11:44:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-23 11:44:08 -0500 |
| commit | 6cc998f28bb1cf119ca96bac385c7361bc1f7021 (patch) | |
| tree | d5fb8f0da5c79fa14afc814ea85cf1c9134eb714 /js/util.ts | |
| parent | bee55fcd20b4919f2d6b4817ce33d1a09e6bcadc (diff) | |
Remove support for extensionless import (#1396)
Diffstat (limited to 'js/util.ts')
| -rw-r--r-- | js/util.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<void>; 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; |
