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