mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 10:54:25 +02:00
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>
This commit is contained in:
1 parent
f888e45432
commit
f35e2b0cd1
14 files changed
+109
-113
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user