refactor(version): 统一版本解析逻辑到 utils/version.rs #59
Annotations
10 errors and 6 warnings
|
Fail if initial check failed
Process completed with exit code 1.
|
|
npm run check (post-fix)
Process completed with exit code 1.
|
|
npm run check (post-fix):
src/pages/ToolManagementPage/components/AddInstanceDialog/hooks/useToolScanner.ts#L84
Argument of type 'null' is not assignable to parameter of type 'string'.
|
|
npm run check (post-fix):
src/pages/ToolManagementPage/components/AddInstanceDialog/AddInstanceDialog.tsx#L395
Type '(method: "other" | "official" | "brew" | "npm") => void' is not assignable to type '(method: string) => void'.
|
|
npm run check:fix (diagnostic)
Process completed with exit code 1.
|
|
npm run check:fix (diagnostic):
src/pages/ToolManagementPage/components/AddInstanceDialog/hooks/useToolScanner.ts#L84
Argument of type 'null' is not assignable to parameter of type 'string'.
|
|
npm run check:fix (diagnostic):
src/pages/ToolManagementPage/components/AddInstanceDialog/AddInstanceDialog.tsx#L395
Type '(method: "other" | "official" | "brew" | "npm") => void' is not assignable to type '(method: string) => void'.
|
|
npm run check
Process completed with exit code 1.
|
|
npm run check:
src/pages/ToolManagementPage/components/AddInstanceDialog/hooks/useToolScanner.ts#L84
Argument of type 'null' is not assignable to parameter of type 'string'.
|
|
npm run check:
src/pages/ToolManagementPage/components/AddInstanceDialog/AddInstanceDialog.tsx#L395
Type '(method: "other" | "official" | "brew" | "npm") => void' is not assignable to type '(method: string) => void'.
|
|
npm run check (post-fix):
src/hooks/useTheme.tsx#L63
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check (post-fix):
src/components/ui/button.tsx#L49
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check:fix (diagnostic):
src/hooks/useTheme.tsx#L63
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check:fix (diagnostic):
src/components/ui/button.tsx#L49
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check:
src/hooks/useTheme.tsx#L63
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check:
src/components/ui/button.tsx#L49
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Loading