I\'m using React 17.0.1 via CRA. I have one module that I\'m using called \'react-vimjs\' that is causing this error. In node_modules/react-vimjs/src/main.tsx it uses the spread