mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 03:19:31 +08:00
18 lines
613 B
Text
Executable file
18 lines
613 B
Text
Executable file
/** @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;
|
|
}
|