Răsfoiți Sursa

tidy up import and export lines

Yuki Takei 1 an în urmă
părinte
comite
0826be3725
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  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 { addTrailingSlash } from '../path-utils';
 
-import { generateChildrenRegExp as _generateChildrenRegExp } from './generate-children-regexp';
 import { isTopPage as _isTopPage } from './is-top-page';
 
 export const isTopPage = _isTopPage;
-export const generateChildrenRegExp = _generateChildrenRegExp;
+export * from './generate-children-regexp';
 
 /**
  * Whether path is the top page of users