denoland / denoland/deno_graph
Don't enforce assertions on type-only imports
Open
- Dominant language
- Rust
- Stars
- 137
- Forks
- 47
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
There exists `TS2822 [ERROR]: Import assertions cannot be used with type-only imports or exports.`, so we shouldn't check assertions for type-only imports. https://github.com/denoland/deno/issues/14913
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing where the module graph validates import assertions for type-only imports, using the linked Deno issue for context. Done means assertions are no longer checked for type-only imports or exports, so TS2822 is not produced in that case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100