weird update to make SWC happier

This commit is contained in:
Mathium05
2026-09-18 11:50:03 -05:00
parent e1fa677d84
commit efd10cf05b
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ import {mobile, Specialuser} from "./utils/utils.js";
import {setTheme} from "./utils/utils.js";
import {MarkDown} from "./markdown.js";
import {I18n} from "./i18n.js";
import "./utils/pollyfills.js";
import {nothing} from "./utils/pollyfills.js";
nothing;
import {makeLogin} from "./login.js";
import {Hover} from "./hover.js";
import "./templatePage.js";
+1
View File
@@ -75,3 +75,4 @@ ReadableStream.prototype[Symbol.asyncIterator] ??= async function* () {
if (done) return undefined;
}
};
export const nothing = void 0;
+2 -2
View File
@@ -16,7 +16,7 @@
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveConstEnums": true,
"preserveConstEnums": false,
"pretty": true,
"removeComments": false,
"resolveJsonModule": true,
@@ -27,7 +27,7 @@
"resolvePackageJsonImports": true,
"skipLibCheck": true,
"outDir": "./dist",
"types": ["node","audioworklet"]
"types": ["node", "audioworklet"]
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]