Files
NapCatQQ/.pnpm-store/v3/files/f6/cf87d5eb9c23d54640d716a0c21b22e857c9d0cc0c86dd1d81974634f3a87f702d1ad4af49d191e68613e78d1af3f399ff5b25e6a1ec4aa1baec9fbded1f82
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

15 lines
378 B
Plaintext

/**
* A simple method for requesting data via standard `fetch`. Should work
* across multiple runtimes.
*/
export function fetch(url) {
return _fetchInternals.stubThis(url);
}
/**
* Make it possible to stub the return value during testing
* @ignore Don't include this in docs output
*/
export const _fetchInternals = {
stubThis: (url) => globalThis.fetch(url),
};