equinor / equinor/fusion-framework
cli: fix ts-expect-error import in cli/commands/portal/schema.ts
Open
Beginner friendly
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 10
- Avg merge
- 19h 40m
- Merged PRs (30d)
- 150
Description
Tracking issue for a TODO found in `packages/cli/src/cli/commands/portal/schema.ts`:
```ts
// @ts-expect-error - @todo - fix this import
```
Investigate and properly fix the typing issue instead of relying on `@ts-expect-error` for this import.
Contributor guide
Research direction
Start in packages/cli/src/cli/commands/portal/schema.ts and inspect the import marked with @ts-expect-error, along with the type error it suppresses. Correct the typing issue without relying on that directive, then run the relevant TypeScript checks and confirm the file builds cleanly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100