JSMonk / hegel

An advanced static type checker
https://hegel.js.org
MIT License
2.09k stars 59 forks source link

Tooltips in playground isn't work in firefox #136

Closed Demetri0 closed 4 years ago

Demetri0 commented 4 years ago

Tooltips in playground isn't work in firefox (tested on latest version 75.0) No errors in console.

https://hegel.js.org/try

artlaman commented 4 years ago

Thats probably because safari and firefox do not have support for lookbehind regexes yet. https://github.com/JSMonk/hegel/blob/92e54ff8d62aaf7d64e309a8d7f1b4fcff5e751f/packages/core/src/type-graph/types/type.js#L124-L127

JSMonk commented 4 years ago

Oh, okay. I will try to fix it today.

JSMonk commented 4 years ago

Thank you for contribution ^_^