Update to Typescript 7 (#39987)

This commit is contained in:
Renaud Chaput authored and GitHub committed 2026-08-10 12:51:10 +00:00
1 parent 6844f4009a
commit ecf9d23752
18 files changed
+397 -167

No files matched your search

+2 -2
View File
@@ -18,11 +18,11 @@ export interface PollOption extends ApiPollOptionJSON {
export function createPollOptionTranslationFromServerJSON(translation: {
title: string;
}) {
}): PollOptionTranslation {
return {
...translation,
titleHtml: escapeTextContentForBrowser(translation.title),
} as PollOptionTranslation;
};
}
export interface Poll extends Omit<