fix: do not mutate newTypes (#11978)
This commit is contained in:
parent
96cc8292b7
commit
1b0f19b019
@ -19,4 +19,4 @@ export const conflictTypes = {
|
||||
ExportAllDeclaration: ESLINT_VISITOR_KEYS.ExportAllDeclaration,
|
||||
};
|
||||
|
||||
export default Object.assign(newTypes, t.VISITOR_KEYS, conflictTypes);
|
||||
export default { ...newTypes, ...t.VISITOR_KEYS, ...conflictTypes };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user