Update to Typescript 7 (#39987)
This commit is contained in:
1 parent
6844f4009a
commit
ecf9d23752
18 files changed
+397
-167
No files matched your search
@@ -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<
|
||||
|
||||
Reference in new issue
Block a user