We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
evalToString
1 parent aefea3a commit 33881a8Copy full SHA for 33881a8
packages/toolkit/scripts/mangleErrors.mts
@@ -3,10 +3,10 @@ import * as helperModuleImports from '@babel/helper-module-imports'
3
import * as fs from 'node:fs'
4
5
/**
6
- * Converts an AST type into a javascript string so that it can be added to the error message lookup.
+ * Converts an AST type into a JavaScript string so that it can be added to the error message lookup.
7
*
8
* Adapted from React (https://github.com/facebook/react/blob/master/scripts/shared/evalToString.js) with some
9
- * adjustments
+ * adjustments.
10
*/
11
const evalToString = (ast) => {
12
switch (ast.type) {
0 commit comments