diff --git a/src/node.h b/src/node.h index 32d346fc4f8..643f964115b 100644 --- a/src/node.h +++ b/src/node.h @@ -374,10 +374,6 @@ enum OptionEnvvarSettings { // Disallow the options to be set via the environment variable, like // `NODE_OPTIONS`. kDisallowedInEnvvar = 1, - // Deprecated, use kAllowedInEnvvar instead. - kAllowedInEnvironment = kAllowedInEnvvar, - // Deprecated, use kDisallowedInEnvvar instead. - kDisallowedInEnvironment = kDisallowedInEnvvar, }; // Process the arguments and set up the per-process options. diff --git a/typings/internalBinding/options.d.ts b/typings/internalBinding/options.d.ts index 8248997d463..e7532f0a3dc 100644 --- a/typings/internalBinding/options.d.ts +++ b/typings/internalBinding/options.d.ts @@ -17,8 +17,8 @@ export interface OptionsBinding { aliases: Map; }; envSettings: { - kAllowedInEnvironment: 0; - kDisallowedInEnvironment: 1; + kAllowedInEnvvar: 0; + kDisallowedInEnvvar: 1; }; noGlobalSearchPaths: boolean; shouldNotRegisterESMLoader: boolean;