Replace typescript compiler with native tsgo compiler

This commit is contained in:
Jamie
2026-03-18 11:26:18 -07:00
committed by GitHub
parent 5e6af4708b
commit c90ca2b4e0
207 changed files with 1819 additions and 1270 deletions

View File

@@ -13,7 +13,7 @@ const { noop } = lodash;
export type PropsType = {
className: string;
i18n: LocalizerType;
onChange: (avatar: Uint8Array) => unknown;
onChange: (avatar: Uint8Array<ArrayBuffer>) => unknown;
};
export function AvatarUploadButton({
@@ -33,7 +33,7 @@ export function AvatarUploadButton({
let shouldCancel = false;
void (async () => {
let newAvatar: Uint8Array;
let newAvatar: Uint8Array<ArrayBuffer>;
try {
newAvatar = await processImageFile(processingFile);
} catch (err) {