GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — `--incremental` retains stale diagnostics when augmenting a re-exported interface · Issue #64386 · microsoft/TypeScript Open Labels Needs InvestigationThis issue needs a team member to investigate its status. Milestone Description🔎 Search Termsincremental stale diagnostics module augmentation re-export interface tsbuildinfo 🕗 Version & Regression InformationReproduces on TypeScript 6.0.3, 7.0.2, and 7.1.0-dev.20260922.1 (the Tested on macOS arm64 with Node 24.14.1 and npm 11.18.0. I reviewed the FAQ and searched existing augmentation and incremental-build reports. ⏯ Playground Linkhttps://github.com/infomiho/typescript-incremental-augmentation-repro 💻 Code// src/registry.ts export interface Registry {} // src/index.ts export type { Registry } from "./registry.js" // src/augment.ts import "./index.js" declare module "./index.js" { interface Registry { value: number } } // src/consumer.ts import type { Registry } from "./registry.js" const value: Registry["value"] = "hello" package.json: {
"private": true,
"type": "module",
"scripts": {
"check": "tsc"
},
"devDependencies": {
"typescript": "7.0.2"
}
}tsconfig.json: {
"compilerOptions": {
"incremental": true,
"noEmit": true,
"tsBuildInfoFile": ".cache/tsconfig.tsbuildinfo"
},
"include": ["src"]
}
🙁 Actual behaviorStep 3 still reports this error in Step 4 succeeds. Incremental and clean builds disagree on identical source files. 🙂 Expected behaviorStep 3 should succeed, matching the clean build. The augmentation now declares Additional information about the issueChanging both Related: #44094, fixed by #45156, concerns missed augmentation updates during incremental compilation. #63960 also involves augmentation through a type-only re-export, but reports a file-order issue. Activity
MetadataMetadataAssigneesLabelsNeeds InvestigationThis issue needs a team member to investigate its status. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |