[OpenFL 9.0.2, iOS] cannot use ByteArray for cpp targets

Migrated from 8.9.6 to 9.0.2 and immediately received this issue, while building for iOS:

.haxelib/openfl/9,0,2/lib/openfl/utils/ByteArray.hx:7: characters 8-26 : You cannot access the js package while targeting cpp (for js.lib.ArrayBuffer)

I wonder, why js package is included for all targets? Is it mistake?

#if haxe4
import js.lib.ArrayBuffer;
import js.html.ArrayBuffer;

Clean build resolved the issue