Fix missing lib files in reused programs by jakebailey · Pull Request #63239 · microsoft/TypeScript

tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js Baseline update reflecting corrected default-lib handling in compileOnSave output tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js Baseline update reflecting corrected default-lib handling in compileOnSave output tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js Baseline update reflecting corrected default-lib handling in compileOnSave output tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js Baseline update reflecting corrected default-lib classification in watch output tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-dynamic-priority-polling.js Baseline update reflecting corrected default-lib classification in watch output tests/baselines/reference/tscWatch/watchEnvironment/fsEvent-for-change-is-repeated.js Baseline update reflecting corrected default-lib classification in watch output tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js Baseline update reflecting corrected default-lib handling when check options change tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipLibCheck.js Baseline update reflecting corrected default-lib classification in incremental program updates tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-skipDefaultLibCheck.js Baseline update reflecting corrected default-lib classification in incremental program updates tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-non-module-file-changes/with-default-options.js Baseline update reflecting corrected default-lib classification in incremental program updates tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js Baseline update reflecting corrected default-lib classification in incremental program updates tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js Baseline update reflecting corrected default-lib classification in incremental program updates tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js Baseline update reflecting corrected default-lib classification in incremental program updates tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js Baseline update reflecting corrected default-lib classification in program updates tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js Baseline update reflecting corrected default-lib classification in program updates tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors.js Baseline update reflecting corrected default-lib classification in noEmit watch output tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors-with-incremental.js Baseline update reflecting corrected default-lib classification in noEmit incremental watch output tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors.js Baseline update reflecting corrected default-lib classification in watch output tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled.js Baseline update reflecting corrected default-lib classification in watch output tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-without-dts-enabled-with-incremental.js Baseline update reflecting corrected default-lib classification in incremental watch output tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors-with-incremental.js Baseline update reflecting corrected default-lib classification in incremental watch output tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js Baseline update reflecting corrected default-lib classification in emit watch output tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js Baseline update reflecting corrected default-lib classification in emit watch output tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js Baseline update reflecting corrected default-lib classification in emit watch output tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js Baseline update reflecting corrected default-lib classification in configured-project emit watch output tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-lineFeed.js Baseline update reflecting corrected default-lib classification in emit watch output tests/baselines/reference/tscWatch/emit/emit-file-content/handles-new-lines-carriageReturn-lineFeed.js Baseline update reflecting corrected default-lib classification in emit watch output tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js Baseline update reflecting corrected default-lib classification in emit watch output src/testRunner/unittests/reuseProgramStructure.ts Adds a unit test for isSourceFileDefaultLibrary behavior after program reuse src/compiler/program.ts Copies default-lib membership (libFiles) during complete structure reuse