Skip to content

Commit

Permalink
fixup! process: add process.features.typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
RedYetiDev committed Oct 1, 2024
1 parent aaffb33 commit 0c6b543
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/internal/bootstrap/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ const { emitWarning, emitWarningSync } = require('internal/process/warning');
const { getOptionValue } = require('internal/options');

let kTypeStrippingMode = null;
// This must be a getter, as getOptionValue does not work
// before bootstrapping.
ObjectDefineProperty(process.features, 'typescript', {
__proto__: null,
get() {
Expand Down

0 comments on commit 0c6b543

Please sign in to comment.