feat: Upgrade nodes-base package to use modern tsconfig.json (no-changelog) (#16884)

This commit is contained in:
Alex Grozav
2025-07-04 14:55:39 +03:00
committed by GitHub
parent 5733999de5
commit d754ce922d
37 changed files with 165 additions and 143 deletions

View File

@@ -271,8 +271,7 @@ function getTexts(texts: TextData[]) {
type: 'mention',
mention: {
type: text.mentionType,
//@ts-expect-error any
[text.mentionType]: { id: text[text.mentionType] as string },
[text.mentionType]: { id: text[text.mentionType as keyof TextData] as string },
},
annotations: text.annotationUi,
});