Skip to content

Commit 33881a8

Browse files
committed
Fix JSDocs for evalToString
1 parent aefea3a commit 33881a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolkit/scripts/mangleErrors.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import * as helperModuleImports from '@babel/helper-module-imports'
33
import * as fs from 'node:fs'
44

55
/**
6-
* Converts an AST type into a javascript string so that it can be added to the error message lookup.
6+
* Converts an AST type into a JavaScript string so that it can be added to the error message lookup.
77
*
88
* Adapted from React (https://github.com/facebook/react/blob/master/scripts/shared/evalToString.js) with some
9-
* adjustments
9+
* adjustments.
1010
*/
1111
const evalToString = (ast) => {
1212
switch (ast.type) {

0 commit comments

Comments
 (0)