diff options
author | silverwind <me@silverwind.io> | 2024-11-11 12:13:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-11 11:13:57 +0000 |
commit | f35e2b0cd1aaee389e4efda5a54976520b9bd4cb (patch) | |
tree | 46f9420ce0e1486f20c4733f184e005c2df09168 /web_src/js/markup/content.ts | |
parent | f888e45432ccb86b18e6709fbd25223e07f2c422 (diff) | |
download | gitea-f35e2b0cd1aaee389e4efda5a54976520b9bd4cb.tar.gz gitea-f35e2b0cd1aaee389e4efda5a54976520b9bd4cb.zip |
Fix a number of typescript issues (#32459)
Fixes 69 typescript errors found in the `admin` and `markup` folders.
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/js/markup/content.ts')
-rw-r--r-- | web_src/js/markup/content.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/markup/content.ts b/web_src/js/markup/content.ts index e7f7b7f0c4..b9190b15ce 100644 --- a/web_src/js/markup/content.ts +++ b/web_src/js/markup/content.ts @@ -5,7 +5,7 @@ import {renderAsciicast} from './asciicast.ts'; import {initMarkupTasklist} from './tasklist.ts'; // code that runs for all markup content -export function initMarkupContent() { +export function initMarkupContent(): void { renderMermaid(); renderMath(); renderCodeCopy(); @@ -13,6 +13,6 @@ export function initMarkupContent() { } // code that only runs for comments -export function initCommentContent() { +export function initCommentContent(): void { initMarkupTasklist(); } |