Skip to content

Commit

Permalink
style: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jan 25, 2023
1 parent 1108d98 commit 239b531
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/runtime/node/events/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { EventEmitter as _EventEmitter, once as _once } from "./_events";
export const EventEmitter = _EventEmitter as any as typeof events.EventEmitter;
export const once = _once as any as typeof events.once;

export default <typeof events> {
export default <typeof events>{
EventEmitter,
once,
}
};
2 changes: 1 addition & 1 deletion src/runtime/npm/cross-fetch.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://github.com/lquixada/cross-fetch

export const fetch = (...args: Parameters<typeof globalThis["fetch"]>) =>
export const fetch = (...args: Parameters<(typeof globalThis)["fetch"]>) =>
globalThis.fetch(...args);
export default fetch;

Expand Down
2 changes: 1 addition & 1 deletion src/runtime/npm/node-fetch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://github.com/node-fetch/node-fetch

// Native browser APIs
export const fetch = (...args: Parameters<typeof globalThis["fetch"]>) =>
export const fetch = (...args: Parameters<(typeof globalThis)["fetch"]>) =>
globalThis.fetch(...args);

export const Headers = globalThis.Headers;
Expand Down

0 comments on commit 239b531

Please sign in to comment.