You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
613 B
18 lines
613 B
/** @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; |
|
}
|
|
|