Improve TS types to support isolatedModules and isolatedDeclarations

This commit is contained in:
Björn Harrtell
2026-04-08 05:42:18 +02:00
parent e223d69b36
commit 496f10525b
249 changed files with 12736 additions and 14776 deletions

View File

@@ -404,7 +404,7 @@ var Movie = class _Movie {
}
charactersType(index) {
const offset = this.bb.__offset(this.bb_pos, 8);
return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : null;
}
charactersTypeLength() {
const offset = this.bb.__offset(this.bb_pos, 8);