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

Restrict what can be imported to simplify TS autoimport #289

Closed
posva opened this issue Jan 8, 2024 Discussed in #288 · 0 comments · Fixed by #246
Closed

Restrict what can be imported to simplify TS autoimport #289

posva opened this issue Jan 8, 2024 Discussed in #288 · 0 comments · Fixed by #246

Comments

@posva
Copy link
Owner

posva commented Jan 8, 2024

Discussed in #288

Originally posted by Gehbt January 8, 2024
When I type one letter such as 'd', there have some bundled exports.🤔
image
It is redundant, and how to overlook it?🤔

@posva posva added bug labels Jan 8, 2024
posva added a commit that referenced this issue Jan 14, 2024
Fix #289

BREAKING CHANGE: This change requires adding `typed-router.config.d.ts` to your
`tsconfig.json`:

```json
{
  // ...
  "include": [
    /* ... */
    "./typed-router.d.ts",
    "./typed-router.config.d.ts"
  ]
  // ...
}
```

It is automatically generated alongside `typed-router.d.ts`. Ideally
this is temporary as it shouldn't be necessary to have two d.ts files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant