1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 05:05:54 +02:00

Follow up per locale bundle (#16381)

* fix docker build

* enable check spdx license id in frontend-builder

* fix eslint config

* run eslint for frontend-builder in ci

* fix eslint

* add license headers

* fix unnecessary comments

* update changelog

* fix generateDts

* fix tsx
This commit is contained in:
anatawa12
2025-08-08 18:47:35 +09:00
committed by GitHub
parent 8598f3912e
commit adb3ad6b7f
17 changed files with 133 additions and 143 deletions

View File

@@ -1,5 +1,10 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
export function assertNever(x: never): never {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
throw new Error(`Unexpected type: ${(x as any)?.type ?? x}`);
}