diff --git a/src/router/modules/able.ts b/src/router/modules/able.ts index cab42343ee..27a2b85e86 100644 --- a/src/router/modules/able.ts +++ b/src/router/modules/able.ts @@ -183,4 +183,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/about.ts b/src/router/modules/about.ts index d2e4114edb..f4fef7b4de 100644 --- a/src/router/modules/about.ts +++ b/src/router/modules/about.ts @@ -18,4 +18,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/components.ts b/src/router/modules/components.ts index 06f73bdebf..ac158cbf53 100644 --- a/src/router/modules/components.ts +++ b/src/router/modules/components.ts @@ -171,4 +171,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/editor.ts b/src/router/modules/editor.ts index c727582af6..a66029b621 100644 --- a/src/router/modules/editor.ts +++ b/src/router/modules/editor.ts @@ -20,4 +20,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/error.ts b/src/router/modules/error.ts index 22ee97f313..edc5633510 100644 --- a/src/router/modules/error.ts +++ b/src/router/modules/error.ts @@ -36,4 +36,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/flowchart.ts b/src/router/modules/flowchart.ts index 999c7e16ca..c69a5a6d76 100644 --- a/src/router/modules/flowchart.ts +++ b/src/router/modules/flowchart.ts @@ -19,4 +19,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/formdesign.ts b/src/router/modules/formdesign.ts index 2e6f7e0149..9bd1b9e62b 100644 --- a/src/router/modules/formdesign.ts +++ b/src/router/modules/formdesign.ts @@ -22,4 +22,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/guide.ts b/src/router/modules/guide.ts index 12c63c18f1..b456ab69ca 100644 --- a/src/router/modules/guide.ts +++ b/src/router/modules/guide.ts @@ -19,4 +19,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/home.ts b/src/router/modules/home.ts index b494fa16ae..a80705b9a7 100644 --- a/src/router/modules/home.ts +++ b/src/router/modules/home.ts @@ -24,4 +24,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/list.ts b/src/router/modules/list.ts index f772e33cc3..4bae99dce1 100644 --- a/src/router/modules/list.ts +++ b/src/router/modules/list.ts @@ -21,4 +21,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/menuoverflow.ts b/src/router/modules/menuoverflow.ts index 322f15211b..5d94b02a3a 100644 --- a/src/router/modules/menuoverflow.ts +++ b/src/router/modules/menuoverflow.ts @@ -19,4 +19,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/nested.ts b/src/router/modules/nested.ts index 7e4ce25af0..e7866d7834 100644 --- a/src/router/modules/nested.ts +++ b/src/router/modules/nested.ts @@ -79,4 +79,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/ppt.ts b/src/router/modules/ppt.ts index 5da80c4a53..fa640c64ea 100644 --- a/src/router/modules/ppt.ts +++ b/src/router/modules/ppt.ts @@ -21,4 +21,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/puredoc.ts b/src/router/modules/puredoc.ts index 1c2496dafa..aa478e007f 100644 --- a/src/router/modules/puredoc.ts +++ b/src/router/modules/puredoc.ts @@ -21,4 +21,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/pureutils.ts b/src/router/modules/pureutils.ts index dfbea7a171..8d9b7b1a45 100644 --- a/src/router/modules/pureutils.ts +++ b/src/router/modules/pureutils.ts @@ -21,4 +21,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 18ee791726..0fcf6c552d 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -39,4 +39,4 @@ export default [ rank: 103 } } -] as Array; +] satisfies Array; diff --git a/src/router/modules/result.ts b/src/router/modules/result.ts index 9e5d1feea1..fa4db6655b 100644 --- a/src/router/modules/result.ts +++ b/src/router/modules/result.ts @@ -27,4 +27,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable; diff --git a/src/router/modules/table.ts b/src/router/modules/table.ts index dfff9cf46b..8f4f807e35 100644 --- a/src/router/modules/table.ts +++ b/src/router/modules/table.ts @@ -28,4 +28,4 @@ export default { } } ] -} as RouteConfigsTable; +} satisfies RouteConfigsTable;