Enforce no-explicit-any; allow in tests

Enable @typescript-eslint/no-explicit-any as an error in the ESLint config to tighten typing across the codebase, and add an override to disable this rule for test files. Also apply non-functional cleanup in packages/proton/src/runtime.ts: reorder/imports and adjust formatting/indentation and string alignment for readability — no behavioral changes.
This commit is contained in:
手瓜一十雪 committed 2026-05-24 13:38:13 +08:00
1 parent acc5084647
commit 80ee12ecc2
36 files changed
+229 -147

No files matched your search

@@ -23,7 +23,7 @@ export namespace FetchFriendListPage {
export type Deps = OidbSender;
export const serialize = (_ctx: Deps, p: Params): OidbFriendListRequest => {
const body: any = {
const body: OidbFriendListRequest = {
friendCount: 300,
field4: 0,
field6: 1,
@@ -25,7 +25,7 @@ export namespace FetchGroupMemberListPage {
export type Deps = OidbSender;
export const serialize = (_ctx: Deps, p: Params): OidbGroupMemberListRequest => {
const body: any = {
const body: OidbGroupMemberListRequest = {
groupUin: p.groupId,
field2: 5,
field3: 2,