diff options
Diffstat (limited to 'web_src/js/features/tribute.ts')
-rw-r--r-- | web_src/js/features/tribute.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/js/features/tribute.ts b/web_src/js/features/tribute.ts index 44588c0064..fa65bcbb28 100644 --- a/web_src/js/features/tribute.ts +++ b/web_src/js/features/tribute.ts @@ -51,6 +51,7 @@ function makeCollections({mentions, emoji}) { export async function attachTribute(element, {mentions, emoji}) { const {default: Tribute} = await import(/* webpackChunkName: "tribute" */'tributejs'); const collections = makeCollections({mentions, emoji}); + // @ts-expect-error TS2351: This expression is not constructable (strange, why) const tribute = new Tribute({collection: collections, noMatchTemplate: ''}); tribute.attach(element); return tribute; |