mirror of
https://github.com/1disk/edp445.git
synced 2024-08-14 22:47:02 +00:00
11 lines
337 B
JavaScript
11 lines
337 B
JavaScript
/*globals self, window */
|
|
|
|
/*eslint-disable @mysticatea/prettier */
|
|
const { AbortController, AbortSignal } =
|
|
typeof self !== "undefined" ? self :
|
|
typeof window !== "undefined" ? window :
|
|
/* otherwise */ undefined
|
|
/*eslint-enable @mysticatea/prettier */
|
|
|
|
export default AbortController
|
|
export { AbortController, AbortSignal }
|