We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 106f22b commit a5a4b6aCopy full SHA for a5a4b6a
1 file changed
src/editors/utils/StrictDict.ts
@@ -4,7 +4,9 @@ const strictGet = (target, name) => {
4
return target;
5
}
6
7
- if (name in target || name === '_reactFragment') {
+ // '@@toStringTag' is used by propTypes in its internal `isSymbol()` function.
8
+ // We can probably remove this exception once we get rid of propTypes.
9
+ if (name in target || name === '_reactFragment' || name === '@@toStringTag') {
10
return target[name];
11
12
0 commit comments