feat: a better type system and type hints that depend on it

This commit is contained in:
2025-03-18 02:32:45 +08:00
parent 85eecbf6ac
commit fb58f35a6a
14 changed files with 215 additions and 222 deletions

View File

@@ -79,7 +79,7 @@ export function createEbmlTag(arg1: unknown, arg2: unknown): EbmlTagTrait {
} else if (isEbmlFloatDataTagId(id)) {
foundType = EbmlElementType.Float;
} else if (isEbmlStringDataTagId(id)) {
foundType = EbmlElementType.String;
foundType = EbmlElementType.Ascii;
} else if (isEbmlUtf8DataTagId(id)) {
foundType = EbmlElementType.UTF8;
} else if (isEbmlDateDataTagId(id)) {