diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /cli/js/globals.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r-- | cli/js/globals.ts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts index ff2ff8f4d..aa826f63a 100644 --- a/cli/js/globals.ts +++ b/cli/js/globals.ts @@ -104,7 +104,7 @@ declare global { evalContext( code: string, - scriptName?: string + scriptName?: string, ): [unknown, EvalErrorInfo | null]; formatError: (e: Error) => string; @@ -150,12 +150,12 @@ declare global { var onerror: | (( - msg: string, - source: string, - lineno: number, - colno: number, - e: Event - ) => boolean | void) + msg: string, + source: string, + lineno: number, + colno: number, + e: Event, + ) => boolean | void) | undefined; // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -218,7 +218,7 @@ export const windowOrWorkerGlobalScopeProperties = { AbortSignal: nonEnumerable(abortSignal.AbortSignalImpl), Blob: nonEnumerable(blob.DenoBlob), ByteLengthQueuingStrategy: nonEnumerable( - queuingStrategy.ByteLengthQueuingStrategyImpl + queuingStrategy.ByteLengthQueuingStrategyImpl, ), CountQueuingStrategy: nonEnumerable(queuingStrategy.CountQueuingStrategyImpl), crypto: readOnly(csprng), @@ -254,10 +254,10 @@ export function setEventTargetData(value: any): void { export const eventTargetProperties = { addEventListener: readOnly( - eventTarget.EventTargetImpl.prototype.addEventListener + eventTarget.EventTargetImpl.prototype.addEventListener, ), dispatchEvent: readOnly(eventTarget.EventTargetImpl.prototype.dispatchEvent), removeEventListener: readOnly( - eventTarget.EventTargetImpl.prototype.removeEventListener + eventTarget.EventTargetImpl.prototype.removeEventListener, ), }; |