See https://github.com/rescript-lang/rescript-compiler/pull/6776 Available in v12