Some questionable TypeScript code changes #343
Draft
Aspect Workflows / Lint
failed
Aug 28, 2024 in 0s
Lint report
Issues have been found with the following files
- File: logger/frontend/index.ts, Line: 43
- File: logger/frontend/index.ts, Line: 44
Details
ESLint found an issue
Type string trivially inferred from a string literal, remove type annotation. (@typescript-eslint/no-inferrable-types)
ESLint found an issue
Unnecessary try/catch wrapper. (no-useless-catch)
Annotations
Check failure on line 43 in logger/frontend/index.ts
aspect-workflows / Lint
ESLint found an issue
Type string trivially inferred from a string literal, remove type annotation. (@typescript-eslint/no-inferrable-types)
Check failure on line 44 in logger/frontend/index.ts
aspect-workflows / Lint
ESLint found an issue
Unnecessary try/catch wrapper. (no-useless-catch)
Loading