Просмотр исходного кода

tidy up import and export lines

Yuki Takei 1 год назад
Родитель
Сommit
0826be3725
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/core/src/utils/page-path-utils/index.ts

+ 1 - 2
packages/core/src/utils/page-path-utils/index.ts

@@ -5,11 +5,10 @@ import type { IUser } from '~/interfaces';
 import { isValidObjectId } from '../objectid-utils';
 import { isValidObjectId } from '../objectid-utils';
 import { addTrailingSlash } from '../path-utils';
 import { addTrailingSlash } from '../path-utils';
 
 
-import { generateChildrenRegExp as _generateChildrenRegExp } from './generate-children-regexp';
 import { isTopPage as _isTopPage } from './is-top-page';
 import { isTopPage as _isTopPage } from './is-top-page';
 
 
 export const isTopPage = _isTopPage;
 export const isTopPage = _isTopPage;
-export const generateChildrenRegExp = _generateChildrenRegExp;
+export * from './generate-children-regexp';
 
 
 /**
 /**
  * Whether path is the top page of users
  * Whether path is the top page of users