aspect-build / aspect-build/rules_ts

"The inferred type of X cannot be named without a reference to Y" (TS2742)

Open
#159 16 comments 0 reactions 0 assignees View on GitHub
blocked documentation
Dominant language
Starlark
Stars
138
Forks
87
Avg merge
2d 8h
Merged PRs (30d)
3

Description

`npm_link_package` labels in `data` and `deps` attributes in `ts_project` is causing typescript to issue portability errors.

Here is a reproduction and more info in the README:
https://github.com/tinganho/transitive-deps-bug

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction and README at https://github.com/tinganho/transitive-deps-bug, then reproduce the TS2742 portability error involving npm_link_package labels in the data and deps attributes of ts_project. Trace how those attributes reach the TypeScript compiler; done means the reproduction no longer emits the portability error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.