framework&ui: add serialize guard #7031
Annotations
10 errors and 2 warnings
|
build:
packages/hydrooj/src/model/training.ts#L66
Property 'isSupersetOf' does not exist on type 'Set<number>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'esnext' or later.
|
|
build:
packages/hydrooj/src/model/discussion.ts#L328
Property 'intersection' does not exist on type 'Set<unknown>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'esnext' or later.
|
|
build:
packages/hydrooj/src/model/discussion.ts#L316
Property 'intersection' does not exist on type 'Set<unknown>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'esnext' or later.
|
|
build:
packages/hydrooj/src/handler/judge.ts#L366
Property 'at' does not exist on type 'SubtaskConfig[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
|
|
build:
packages/hydrooj/src/handler/contest.ts#L91
Property 'intersection' does not exist on type 'Set<string>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'esnext' or later.
|
|
build:
framework/utils/lib/common.ts#L192
Property 'at' does not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
|
|
build:
framework/framework/server.ts#L743
Property 'hasOwn' does not exist on type 'ObjectConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
|
|
build:
framework/framework/server.ts#L707
Property 'hasOwn' does not exist on type 'ObjectConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
|
|
build:
framework/framework/server.ts#L513
Property 'hasOwn' does not exist on type 'ObjectConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
|
|
build:
framework/framework/api.ts#L89
Argument of type 'T' is not assignable to parameter of type 'object'.
|
|
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, tj-actions/changed-files@v41. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|