From here: https://github.com/rescript-lang/rescript-compiler/pull/6721
From here: rescript-lang/rescript#6721