UNPKG

698 BTypeScriptView Raw
1/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
2declare module 'node:constants' {
3 import exp = require('constants');
4 export = exp;
5}
6
7/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
8declare module 'constants' {
9 import { constants as osConstants, SignalConstants } from 'node:os';
10 import { constants as cryptoConstants } from 'node:crypto';
11 import { constants as fsConstants } from 'node:fs';
12
13 const exp: typeof osConstants.errno &
14 typeof osConstants.priority &
15 SignalConstants &
16 typeof cryptoConstants &
17 typeof fsConstants;
18 export = exp;
19}