diff --git a/src/router/index.ts b/src/router/index.ts index f876b1d8..60eebf24 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -14,6 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type { RouteRecordRaw } from "vue-router"; import { createRouter, createWebHistory } from "vue-router"; import { routesDashboard } from "./dashboard"; import { routesMarketplace } from "./marketplace"; @@ -21,7 +22,13 @@ import { routesAlarm } from "./alarm"; import routesLayers from "./layer"; import { routesSettings } from "./settings"; -const routes = [...routesMarketplace, ...routesLayers, ...routesAlarm, ...routesDashboard, ...routesSettings]; +const routes: RouteRecordRaw[] = [ + ...routesMarketplace, + ...routesLayers, + ...routesAlarm, + ...routesDashboard, + ...routesSettings, +]; const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL),