See https://github.com/rescript-lang/rescript-compiler/pull/5537#discussion_r917510423