scniro / react-codemirror2

Codemirror integrated components for React
MIT License
1.66k stars 193 forks source link

fix: check if global is available before accessing its property #308

Closed vighnesh153 closed 5 months ago

fongandrew commented 5 months ago

This shouldn't be necessary anymore. This was fixed in https://github.com/scniro/react-codemirror2/pull/260, but I don't think we pushed an updated tsc compilation from the previous fix.