Enable a few more tsconfig options (#35553)

Enable a few more useful options in tsconfig. `noImplicitReturns` had
two cases which I've fixed. Also, partially sort the file.
This commit is contained in:
silverwind
2025-10-01 06:43:41 +02:00
committed by GitHub
parent c5d74e5869
commit b907b9fb1a
3 changed files with 20 additions and 16 deletions

View File

@@ -10,7 +10,7 @@ export function initTableSort() {
}
function tableSort(normSort: string, revSort: string, isDefault: string) {
if (!normSort) return false;
if (!normSort) return;
if (!revSort) revSort = '';
const url = new URL(window.location.href);