fix: harden generated identifiers and types
This commit is contained in:
@@ -1566,6 +1566,13 @@ const JS_RESERVED = new Set([
|
||||
"enum",
|
||||
"with",
|
||||
"debugger",
|
||||
"implements",
|
||||
"interface",
|
||||
"package",
|
||||
"private",
|
||||
"protected",
|
||||
"public",
|
||||
"static",
|
||||
]);
|
||||
|
||||
/** A JS reference for a prop/state name (reserved words get a `__p_` prefix). */
|
||||
|
||||
Reference in New Issue
Block a user