Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration Merging with Module Resolution Bundler #701

Closed
3 tasks done
FlorianRappl opened this issue Jul 3, 2024 · 0 comments
Closed
3 tasks done

Declaration Merging with Module Resolution Bundler #701

FlorianRappl opened this issue Jul 3, 2024 · 0 comments
Labels
bug Something isn't working plugin Covered by an opt-in plugin for Piral.
Milestone

Comments

@FlorianRappl
Copy link
Contributor

Bug Report

For more information, see the CONTRIBUTING guide.

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version?
  • Did you perform a search in the issues?

Environment Details and Version

WSL, latest version

Description

A scaffolded Piral instance shows type errors due to moduleResolution when being set to bundler cannot do the declaration merging.

Steps to Reproduce

  1. Scaffold new shell
  2. Look at the types in the index.tsx or layout.tsx

Expected behavior

No type errors.

Actual behavior

Weird TS errors that some types are missing, which are properly merged - but due to the module resolution not findable.

Possible Origin/Solution

Presumably there are some exports (paths / types) missing for this.

@FlorianRappl FlorianRappl added bug Something isn't working plugin Covered by an opt-in plugin for Piral. in-review The item is currently being reviewed. labels Jul 3, 2024
@FlorianRappl FlorianRappl added this to the 1.6.0 milestone Jul 3, 2024
@FlorianRappl FlorianRappl added in-testing The item is already out in preview and can be tested. and removed in-review The item is currently being reviewed. in-testing The item is already out in preview and can be tested. labels Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin Covered by an opt-in plugin for Piral.
Projects
None yet
Development

No branches or pull requests

1 participant