You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: unify menu type definitions and improve naming consistency
- Replaced `ItemType` with custom type `MyMenu` in components
- Renamed `menu.ts` to `menus.ts` for plural consistency
- Introduced `types/menu.ts` to define `MyMenu` interface and conversion utility
- Updated imports and variable names accordingly
- Adjusted layout menu to use Ant Design's `items` property
- Added `skipLibCheck` option in tsconfig for faster type checking
Signed-off-by: Lei Wang <ssst0n3@gmail.com>
0 commit comments