mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-09-15 12:27:30 +00:00
14 lines
394 B
JavaScript
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
|