Skip to content

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

@guaijie

Description

@guaijie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy