1
0
mirror of https://github.com/oven-sh/setup-bun.git synced 2025-04-11 15:56:03 +08:00
2022-07-12 09:00:22 +02:00

14 lines
394 B
JavaScript

/*globals self, window */
"use strict"
/*eslint-disable @mysticatea/prettier */
const { AbortController, AbortSignal } =
typeof self !== "undefined" ? self :
typeof window !== "undefined" ? window :
/* otherwise */ undefined
/*eslint-enable @mysticatea/prettier */
module.exports = AbortController
module.exports.AbortSignal = AbortSignal
module.exports.default = AbortController