Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request includes updates to the tsconfig.json file, aligning it with modern development practices. The changes introduced are as follows:
Changes
"moduleResolution": "Bundler"
: Since TypeScript 5.0, the "moduleResolution" configuration now deprecates the Node.js resolution modes ("Node" and "Node10") in favor of "Bundler". This setting is designed for compatibility with bundlers. In contrast to the Node.js resolution modes, the "Bundler" mode allows seamless usage of "imports" and "exports" without the need for file extensions on relative paths in imports."moduleDetection": "force"
: Enabling this option ensures that every non-declaration file is treated as a module, providing a more consistent and predictable module handling approach."isolatedModules": true
: TypeScript will now issue warnings for code that might not be correctly interpreted by a single-file transpilation process, helping catch potential issues early in the development process."verbatimModuleSyntax": true
: Forces type imports to be flagged with atype
modifier. This is particularly useful for bundlers, as it signals upfront that the code won't be used as a value, allowing the bundler to exclude it from the generated JavaScript code."noEmit": true
: It was used as a flag ontypecheck
script, now it is part of tsconfig.json