Skip to content

Commit

Permalink
fix types to typing
Browse files Browse the repository at this point in the history
  • Loading branch information
xXAvoraXx committed Jul 18, 2024
1 parent c38f2d0 commit 040d74d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "umi-plugin-ssr-routes",
"author": "xXAvoraXx",
"version": "1.0.17",
"version": "1.0.18",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default (api: IApi) => {
api.writeTmpFile({
path: RUNTIME_TYPE_FILE_NAME,
content: `
import { RouteRaw } from './types';
import { RouteRaw } from './typing';
export interface IRuntimeConfig {
getServerSideRoutes?: () => Promise<RouteRaw[]>
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getSessionContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import LazyLoadable from './LazyLoadable';
import { createIcon } from './utils';
import { Navigate } from '@umijs/max';
import React, { lazy } from 'react';
import { Route, RouteRaw } from './types';
import { Route, RouteRaw } from './typing';
let remoteMenu: RouteRaw[] = [];
export function getRemoteMenu() {
Expand Down

0 comments on commit 040d74d

Please sign in to comment.