Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: type-check with tsrs (#44562)
zhsama8c41d45dd895
diff --git a/cli/package.json b/cli/package.jsonindex 1936a9a4b39..970d2d16593 100644--- a/cli/package.json+++ b/cli/package.json@@ -23,7 +23,7 @@"test:e2e": "vp test --config vitest.e2e.config.ts","test:e2e:smoke": "vp test --config vitest.e2e.config.ts --testNamePattern \"\\[P0\\]\"","test:e2e:local": "DIFY_E2E_MODE=local vp test --config vitest.e2e.config.ts",- "type-check": "tsc",+ "type-check": "tsrs --noEmit","tree:gen": "bun scripts/generate-command-tree.ts","tree:check": "bun scripts/generate-command-tree.ts --check","prebuild": "pnpm tree:gen",@@ -55,6 +55,7 @@"@typescript/native": "catalog:","@vitest/coverage-v8": "catalog:","hono": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","vite": "catalog:","vite-plus": "catalog:",diff --git a/e2e/package.json b/e2e/package.jsonindex 014283dafa1..bc387bdb544 100644--- a/e2e/package.json+++ b/e2e/package.json@@ -26,7 +26,7 @@"e2e:web:build": "node ./scripts/setup.ts web-build","seed": "node ./scripts/run-cucumber.ts --seed-only","test:unit": "vp test run",- "type-check": "tsc"+ "type-check": "tsrs --noEmit"},"devDependencies": {"@axe-core/playwright": "catalog:",@@ -41,6 +41,7 @@"@types/node": "catalog:","@typescript/native": "catalog:","eventsource-parser": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","vite": "catalog:","vite-plus": "catalog:",diff --git a/packages/contracts/package.json b/packages/contracts/package.jsonindex ef5324d2cca..e82e910a865 100644--- a/packages/contracts/package.json+++ b/packages/contracts/package.json@@ -30,7 +30,7 @@"gen-enterprise-contract": "openapi-ts -f openapi-ts.enterprise.config.ts","gen-enterprise-app-deploy-contract": "openapi-ts -f openapi-ts.enterprise-app-deploy.config.ts","test": "vp test",- "type-check": "tsc"+ "type-check": "tsrs --noEmit"},"dependencies": {"@orpc/contract": "catalog:",@@ -42,6 +42,7 @@"@types/node": "catalog:","@typescript/native": "catalog:","js-yaml": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","vite": "catalog:","vite-plus": "catalog:"diff --git a/packages/dev-proxy/package.json b/packages/dev-proxy/package.jsonindex 3cd19e10ecc..ea528098859 100644--- a/packages/dev-proxy/package.json+++ b/packages/dev-proxy/package.json@@ -21,7 +21,7 @@"build": "vp pack","prepare": "pnpm run build","test": "vp test",- "type-check": "tsc",+ "type-check": "tsrs --noEmit","prepublish": "pnpm run build"},"dependencies": {@@ -34,6 +34,7 @@"@dify/tsconfig": "workspace:*","@types/node": "catalog:","@typescript/native": "catalog:",+ "tsrs": "catalog:","vite": "catalog:","vite-plus": "catalog:"},diff --git a/packages/dify-ui/package.json b/packages/dify-ui/package.jsonindex 80f24c1b82d..624f70f0644 100644--- a/packages/dify-ui/package.json+++ b/packages/dify-ui/package.json@@ -216,7 +216,7 @@"test": "vp test --project unit","test:storybook": "vp test --project storybook --run","test:watch": "vp test --project unit --watch",- "type-check": "tsc"+ "type-check": "tsrs --noEmit"},"dependencies": {"@base-ui/utils": "catalog:",@@ -252,6 +252,7 @@"react-dom": "catalog:","storybook": "catalog:","tailwindcss": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","vite": "catalog:","vite-plus": "catalog:",diff --git a/packages/iconify-collections/package.json b/packages/iconify-collections/package.jsonindex 25e2de9137a..c2ffda8824c 100644--- a/packages/iconify-collections/package.json+++ b/packages/iconify-collections/package.json@@ -24,12 +24,13 @@"scripts": {"check:dimensions": "node ./scripts/check-icon-dimensions.ts","generate": "node ./scripts/generate-collections.ts",- "type-check": "tsc"+ "type-check": "tsrs --noEmit"},"devDependencies": {"@dify/tsconfig": "workspace:*","@types/node": "catalog:","@typescript/native": "catalog:",- "iconify-import-svg": "catalog:"+ "iconify-import-svg": "catalog:",+ "tsrs": "catalog:"}}diff --git a/packages/image-resources/package.json b/packages/image-resources/package.jsonindex f813fcc6143..b39ea190601 100644--- a/packages/image-resources/package.json+++ b/packages/image-resources/package.json@@ -5,7 +5,7 @@"type": "module","scripts": {"test": "vp test run",- "type-check": "tsc --project tsconfig.json",+ "type-check": "tsrs --noEmit --project tsconfig.json","check:images": "node check-image-resources.ts"},"dependencies": {@@ -19,6 +19,7 @@"@types/node": "catalog:","@types/picomatch": "catalog:","@typescript/native": "catalog:",+ "tsrs": "catalog:","vite": "catalog:","vite-plus": "catalog:"},diff --git a/packages/jotai-tanstack-form/package.json b/packages/jotai-tanstack-form/package.jsonindex 1f46fd7665d..2fbca401f38 100644--- a/packages/jotai-tanstack-form/package.json+++ b/packages/jotai-tanstack-form/package.json@@ -11,13 +11,14 @@},"scripts": {"test": "vp test",- "type-check": "tsc"+ "type-check": "tsrs --noEmit"},"devDependencies": {"@dify/tsconfig": "workspace:*","@tanstack/form-core": "catalog:","@typescript/native": "catalog:","jotai": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","vite": "catalog:","vite-plus": "catalog:"diff --git a/packages/migrate-no-unchecked-indexed-access/package.json b/packages/migrate-no-unchecked-indexed-access/package.jsonindex c65e5638a35..9c20e617c94 100644--- a/packages/migrate-no-unchecked-indexed-access/package.json+++ b/packages/migrate-no-unchecked-indexed-access/package.json@@ -8,10 +8,11 @@"type": "module","scripts": {"build": "vp pack",- "type-check": "tsc"+ "type-check": "tsrs --noEmit"},"dependencies": {"@typescript/native": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:"},"devDependencies": {diff --git a/packages/nuqs-jotai/package.json b/packages/nuqs-jotai/package.jsonindex 16efcc471e3..f9a675665b7 100644--- a/packages/nuqs-jotai/package.json+++ b/packages/nuqs-jotai/package.json@@ -15,7 +15,7 @@},"scripts": {"test": "vp test",- "type-check": "tsc"+ "type-check": "tsrs --noEmit"},"devDependencies": {"@dify/tsconfig": "workspace:*",@@ -30,6 +30,7 @@"nuqs": "catalog:","react": "catalog:","react-dom": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","vite": "catalog:","vite-plus": "catalog:"diff --git a/packages/tooling/package.json b/packages/tooling/package.jsonindex eecd0798798..8ec0207299b 100644--- a/packages/tooling/package.json+++ b/packages/tooling/package.json@@ -14,7 +14,7 @@},"scripts": {"test": "vp test",- "type-check": "tsc --noEmit"+ "type-check": "tsrs --noEmit"},"dependencies": {"@eslint-react/eslint-plugin": "catalog:",@@ -38,6 +38,7 @@"eslint-plugin-regexp": "catalog:","eslint-plugin-storybook": "catalog:","eslint-plugin-yml": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","vite-plus": "catalog:"},diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 2fabee50a6e..2bfe4ff0587 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -722,6 +722,9 @@ catalogs:tldts:specifier: 7.4.18version: 7.4.18+ tsrs:+ specifier: 0.18.0-ts7.1.0-dev.20260929+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: npm:@typescript/[email protected]version: 6.0.2@@ -890,6 +893,9 @@ importers:node:specifier: runtime:24.22.1version: runtime:24.22.1+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -941,6 +947,9 @@ importers:eventsource-parser:specifier: 'catalog:'version: 4.1.2+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -978,6 +987,9 @@ importers:js-yaml:specifier: 'catalog:'version: 5.5.0+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -1015,6 +1027,9 @@ importers:node:specifier: runtime:24.22.1version: runtime:24.22.1+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929vite:specifier: 'catalog:'version: '@voidzero-dev/[email protected](@types/[email protected])(@volar/[email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])'@@ -1118,6 +1133,9 @@ importers:tailwindcss:specifier: 'catalog:'version: 4.3.3+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -1148,6 +1166,9 @@ importers:iconify-import-svg:specifier: 'catalog:'version: 0.2.0([email protected])+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929packages/image-resources:dependencies:@@ -1179,6 +1200,9 @@ importers:node:specifier: runtime:24.22.1version: runtime:24.22.1+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929vite:specifier: 'catalog:'version: '@voidzero-dev/[email protected](@types/[email protected])(@volar/[email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])'@@ -1200,6 +1224,9 @@ importers:jotai:specifier: 'catalog:'version: 3.0.1(@types/[email protected])([email protected])+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -1215,6 +1242,9 @@ importers:'@typescript/native':specifier: 'catalog:'version: [email protected]+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -1270,6 +1300,9 @@ importers:react-dom:specifier: 'catalog:'version: 19.3.1([email protected])+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -1345,6 +1378,9 @@ importers:eslint-plugin-yml:specifier: 'catalog:'+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -1387,6 +1423,9 @@ importers:node:specifier: runtime:24.22.1version: runtime:24.22.1+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -1841,6 +1880,9 @@ importers:tailwindcss:specifier: 'catalog:'version: 4.3.3+ tsrs:+ specifier: 'catalog:'+ version: 0.18.0-ts7.1.0-dev.20260929typescript:specifier: 'catalog:'version: '@typescript/[email protected]'@@ -4723,6 +4765,40 @@ packages:peerDependencies:'@testing-library/dom': '>=7.21.4'+ '@tsrs/[email protected]':+ resolution: {integrity: sha512-sAirMpaGA9uRQm2W+t4zC7PjnijNuFa4PCSIfLKKo0JyAUCRfnMeev0UGBQ9F3g+9Nz187tvikUs5Irh5+eajA==}+ engines: {node: '>=16.20.0'}+ cpu: [arm64]+ os: [darwin]++ '@tsrs/[email protected]':+ resolution: {integrity: sha512-zm9/z9yylig68JiZF4Aq0Cm26n09KEU8YoQRlG7tdDWTBNAIViYw8knxnWYsjMWVZ2XiU4mYq1xdrOKuOgABHg==}+ engines: {node: '>=16.20.0'}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@tsrs/[email protected]':+ resolution: {integrity: sha512-Lw7VVU/YQ9JcarODICEiwzMLdFqZprqh5RGTgbS5Uc6I95P635/g5xA1pOC8RVs4efBvAR30J54iDG3l5JEYiw==}+ engines: {node: '>=16.20.0'}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@tsrs/[email protected]':+ resolution: {integrity: sha512-EdBwBgNICGu1r1h23ixdcKwsMo6E9ll7ZsY3mNERNYqE1Pwdtcat99d5E7zB1J+oy/Xk6YqiizaB6nolIjpDTw==}+ engines: {node: '>=16.20.0'}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@tsrs/[email protected]':+ resolution: {integrity: sha512-LHk+AOAtXuTlhJhOJ2+elriEIX17ycXljojeNxrrzckOipTG1LksoVWuCSas2nu00EnWAzrdKpt9oqPylUKZfQ==}+ engines: {node: '>=16.20.0'}+ cpu: [x64]+ os: [linux]+ libc: [musl]+'@tsslint/[email protected]':resolution: {integrity: sha512-svoLfFkoWmdsDrIRLllFnrxydfMjKKZ1UBjv7Sua1KjFkx6VaJ88+YGYqNiTbB/dDcU10qnSMXRavNTJ0fjBkQ==}engines: {node: '>=22.6.0'}@@ -8729,6 +8805,11 @@ packages:resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}+ resolution: {integrity: sha512-9T0b4Uam/yMFIK16GUx0fUrJqYZnJ/gvSmV9JB8NTyDePvwCI45WFWxyEV/UMV3KfdNRJG/PBsm3fSIB9WmWsA==}+ engines: {node: '>=16.20.0'}+ hasBin: true+resolution: {integrity: sha512-BL5MGkRln6aDYhb0xbQlEAGw743BaZYWdbWtdJOBriYJboKgUUYCadFp2/FpBBZquBC/ezNBn7wMMPx7FDZUDw==}engines: {node: '>=18.0.0'}@@ -11775,6 +11856,21 @@ snapshots:dependencies:'@testing-library/dom': 10.4.2+ '@tsrs/[email protected]':+ optional: true++ '@tsrs/[email protected]':+ optional: true++ '@tsrs/[email protected]':+ optional: true++ '@tsrs/[email protected]':+ optional: true++ '@tsrs/[email protected]':+ optional: true+'@tsslint/[email protected](@tsslint/[email protected](@typescript/[email protected]))(@typescript/[email protected])':dependencies:'@tsslint/config': 3.1.4(@tsslint/[email protected](@typescript/[email protected]))@@ -16224,6 +16320,14 @@ snapshots:+ optionalDependencies:+ '@tsrs/darwin-arm64': 0.18.0-ts7.1.0-dev.20260929+ '@tsrs/linux-arm64-gnu': 0.18.0-ts7.1.0-dev.20260929+ '@tsrs/linux-arm64-musl': 0.18.0-ts7.1.0-dev.20260929+ '@tsrs/linux-x64-gnu': 0.18.0-ts7.1.0-dev.20260929+ '@tsrs/linux-x64-musl': 0.18.0-ts7.1.0-dev.20260929+dependencies:esbuild: 0.28.2@@ -17045,6 +17149,7 @@ time:[email protected]: '2026-08-24T12:10:36.576Z'[email protected]: '2026-07-16T12:03:35.267Z'[email protected]: '2026-10-07T22:40:43.594Z'+ [email protected]: '2026-10-19T11:24:43.751Z'[email protected]: '2026-07-08T15:55:18.431Z'[email protected]: '2024-08-29T13:49:01.316Z'[email protected]: '2026-09-25T07:15:17.199Z'diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 744e1e32130..f77f1417df1 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -34,6 +34,10 @@ trustPolicyExclude:+ # tsrs 0.18 is published by the oxc-project GitHub Actions trusted publisher+ # with provenance. pnpm still reports a downgrade against earlier releases of+ # the same package name.verifyDepsBeforeRun: installpackages:- web@@ -256,6 +260,7 @@ catalog:svgo: 4.1.0tailwindcss: 4.3.3tldts: 7.4.18+ tsrs: 0.18.0-ts7.1.0-dev.20260929typescript: npm:@typescript/[email protected]uglify-js: 3.19.3undici: 7.30.0diff --git a/sdks/nodejs-client/package.json b/sdks/nodejs-client/package.jsonindex 472273a1838..324d93cb6b0 100644--- a/sdks/nodejs-client/package.json+++ b/sdks/nodejs-client/package.json@@ -43,7 +43,7 @@},"scripts": {"build": "vp pack",- "type-check": "tsc",+ "type-check": "tsrs --noEmit","test": "vp test","test:coverage": "vp test --coverage","publish:check": "./scripts/publish.sh --dry-run",@@ -54,6 +54,7 @@"@types/node": "catalog:","@typescript/native": "catalog:","@vitest/coverage-v8": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","vite": "catalog:","vite-plus": "catalog:",diff --git a/web/app/components/apps/__tests__/list.spec.tsx b/web/app/components/apps/__tests__/list.spec.tsxindex c2b7e143677..d188903a5c4 100644--- a/web/app/components/apps/__tests__/list.spec.tsx+++ b/web/app/components/apps/__tests__/list.spec.tsx@@ -381,7 +381,9 @@ it('keeps a settled empty announcement during background refresh', async () => {})it('clears search in the URL and restores the unfiltered catalog', async () => {- api.apps.mockImplementation(async ({ query } = {}) => page(query?.name ? [] : apps))+ api.apps.mockImplementation(async ({ query }: Parameters<typeof api.apps>[0] = {}) =>+ page(query?.name ? [] : apps),+ )const { user, onUrlUpdate } = await setup('?keywords=missing')await user.click(screen.getByRole('button', { name: 'common.operation.clear' }))expect(search()).toHaveValue('')diff --git a/web/app/components/datasets/list/__tests__/index.spec.tsx b/web/app/components/datasets/list/__tests__/index.spec.tsxindex b6b61db12e9..6ff5bfee52d 100644--- a/web/app/components/datasets/list/__tests__/index.spec.tsx+++ b/web/app/components/datasets/list/__tests__/index.spec.tsx@@ -106,7 +106,7 @@ it('shows a permission empty state without dataset creation access', async () =>})it('uses the filtered empty state when an owner requests all knowledge', async () => {- api.datasets.mockImplementation(async ({ query } = {}) =>+ api.datasets.mockImplementation(async ({ query }: Parameters<typeof api.datasets>[0] = {}) =>datasetPage(query?.include_all ? [] : [createDatasetFixture()]),)const { user } = setup()@@ -151,7 +151,7 @@ it('keeps previous cards and delays the empty announcement until search settles'})it('filters by real tag IDs and restores the list after clearing tags', async () => {- api.datasets.mockImplementation(async ({ query } = {}) =>+ api.datasets.mockImplementation(async ({ query }: Parameters<typeof api.datasets>[0] = {}) =>datasetPage(query?.tag_ids?.length ? [] : [createDatasetFixture()]),)const { user } = setup()diff --git a/web/app/components/workflow/nodes/knowledge-retrieval/__tests__/panel.spec.tsx b/web/app/components/workflow/nodes/knowledge-retrieval/__tests__/panel.spec.tsxindex 4a63dc5fa77..f6335c6e488 100644--- a/web/app/components/workflow/nodes/knowledge-retrieval/__tests__/panel.spec.tsx+++ b/web/app/components/workflow/nodes/knowledge-retrieval/__tests__/panel.spec.tsx@@ -131,13 +131,15 @@ function setup({rerankDefault?: booleanpendingDetails?: Promise<Awaited<ReturnType<typeof consoleClient.datasets.get>>>} = {}) {- getDatasets.mockReset().mockImplementation(async ({ query } = {}) => {- if (query?.ids && pendingDetails) return pendingDetails- const selected = query?.ids- ? datasets.filter((dataset) => query.ids!.includes(dataset.id))- : datasets- return { data: selected, has_more: false, limit: 20, page: 1, total: selected.length }- })+ getDatasets+ .mockReset()+ .mockImplementation(async ({ query }: Parameters<typeof getDatasets>[0] = {}) => {+ if (query?.ids && pendingDetails) return pendingDetails+ const selected = query?.ids+ ? datasets.filter((dataset) => query.ids!.includes(dataset.id))+ : datasets+ return { data: selected, has_more: false, limit: 20, page: 1, total: selected.length }+ })getRules.mockReset().mockResolvedValue({data: [{diff --git a/web/features/skills/__tests__/page.spec.tsx b/web/features/skills/__tests__/page.spec.tsxindex 09ec882b663..00b20f8bc0c 100644--- a/web/features/skills/__tests__/page.spec.tsx+++ b/web/features/skills/__tests__/page.spec.tsx@@ -190,16 +190,18 @@ describe('SkillsPage', () => {{ count: 2, tag: 'support' },{ count: 1, tag: 'sales' },]- mocks.list.mockReset().mockImplementation(async ({ query } = {}) => {- const page = query?.page ?? 1- return {- data: mocks.skillPages[page - 1] ?? [],- has_more: page < mocks.skillPages.length,- limit: 20,- page,- total: mocks.skillPages.flat().length,- }- })+ mocks.list+ .mockReset()+ .mockImplementation(async ({ query }: Parameters<typeof mocks.list>[0] = {}) => {+ const page = query?.page ?? 1+ return {+ data: mocks.skillPages[page - 1] ?? [],+ has_more: page < mocks.skillPages.length,+ limit: 20,+ page,+ total: mocks.skillPages.flat().length,+ }+ })mocks.references.mockReset().mockImplementation(async () => ({ data: mocks.skillReferences }))vi.spyOn(toast, 'error')vi.spyOn(toast, 'success')@@ -386,7 +388,7 @@ describe('SkillsPage', () => {total: number}) => void)| undefined- mocks.list.mockImplementation(async ({ query } = {}) => {+ mocks.list.mockImplementation(async ({ query }: Parameters<typeof mocks.list>[0] = {}) => {if (Number(query?.page ?? 1) === 1) {return {data: firstPageSkills,@@ -465,7 +467,7 @@ describe('SkillsPage', () => {}) => void)| undefinedlet nextPageRequestCount = 0- mocks.list.mockImplementation(({ query } = {}) => {+ mocks.list.mockImplementation(({ query }: Parameters<typeof mocks.list>[0] = {}) => {if (Number(query?.page ?? 1) === 1) {return new Promise((resolve) => {resolveFirstPageRefetch = resolve@@ -540,7 +542,7 @@ describe('SkillsPage', () => {total: number}) => void)| undefined- mocks.list.mockImplementation(async ({ query } = {}) => {+ mocks.list.mockImplementation(async ({ query }: Parameters<typeof mocks.list>[0] = {}) => {if (Number(query?.page ?? 1) === 1) {return {data: firstPageSkills,diff --git a/web/package.json b/web/package.jsonindex 4992a9f2846..83581ca1139 100644--- a/web/package.json+++ b/web/package.json@@ -35,7 +35,7 @@"storybook:build": "storybook build","test": "vp test --project unit","test:browser": "vp test --project browser",- "type-check": "tsc",+ "type-check": "tsrs --noEmit","uglify-embed": "node ./bin/uglify-embed"},"dependencies": {@@ -187,6 +187,7 @@"react-server-dom-webpack": "catalog:","storybook": "catalog:","tailwindcss": "catalog:",+ "tsrs": "catalog:","typescript": "catalog:","uglify-js": "catalog:","vinext": "catalog:",