Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
22 lines
816 B
Plaintext
22 lines
816 B
Plaintext
/**
|
|
* @deprecated The `node:constants` module is deprecated. When requiring access to constants
|
|
* relevant to specific Node.js builtin modules, developers should instead refer
|
|
* to the `constants` property exposed by the relevant module. For instance,
|
|
* `require('node:fs').constants` and `require('node:os').constants`.
|
|
*/
|
|
declare module "constants" {
|
|
const constants:
|
|
& typeof import("node:os").constants.dlopen
|
|
& typeof import("node:os").constants.errno
|
|
& typeof import("node:os").constants.priority
|
|
& typeof import("node:os").constants.signals
|
|
& typeof import("node:fs").constants
|
|
& typeof import("node:crypto").constants;
|
|
export = constants;
|
|
}
|
|
|
|
declare module "node:constants" {
|
|
import constants = require("constants");
|
|
export = constants;
|
|
}
|