These are chat archives for chandu0101/scalajs-react-components

Jun 2018
√ėyvind Raddum Berg
Jun 29 2018 15:57
@hamzarhaiem val frDt = "global.Intl.DateTimeFormat".asInstanceOf[js.Function] is wrong, youre passing a string there while it expects a function. Use[js.Function] perhaps
or rather, if it is already typed up and DateTimeFormat is a class (i havent used this) you could try js.constructorOf[Intl.DateTimeFormat] and cast that