Skip to content

Type declaration files are unchanged after files/module was changed #555

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

Open
5 tasks done
guaijie opened this issue Feb 10, 2025 · 2 comments
Open
5 tasks done

Type declaration files are unchanged after files/module was changed #555

guaijie opened this issue Feb 10, 2025 · 2 comments

Comments

@guaijie
Copy link

guaijie commented Feb 10, 2025

Describe the bug

  1. type declaration file is unchanged after addding a new file containing the default export.
  2. type declaration file is unchanged after deleting a new file containing the default export.
  3. type declaration file is unchanged after after deleting default export from file
  4. type declaration file is unchanged after after deleting export from file

Image

Image

Reproduction

https://stackblitz.com/edit/vitejs-vite-nejvkcbc?file=vite.config.js,src%2Fhooks%2Findex.ts,src%2Fhooks%2FuseData.ts,src%2Fhooks%2FuseFoo.ts,tsconfig.json,tsconfig.node.json,tsconfig.app.json,src%2Fmain.ts,auto-imports.d.ts&terminal=dev

System Info

Version: 19.0.0
System:
    OS: Windows 11 10.0.22000
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz
    Memory: 17.54 GB / 31.86 GB
  Binaries:
    Node: 18.19.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.14.3 - ~\AppData\Local\pnpm\pnpm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22000.120

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Copy link

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@ilyaliao
Copy link
Contributor

Does it seem related to #564? Could you try v19.1.2?

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

No branches or pull requests

2 participants