Comments (5)
Here is a discussion that may be related : #54493 (comment)
from typescript.
met this too
from typescript.
That means a project which enables following features at the same time will be unusable under TS 5.5:
- enable both
emitDecoratorMetadata
andexperimentalDecorators
in tsconfig. - use
declare
keyword for class properties. verbatimModuleSyntax
is false.
Some of my projects cannot upgrade to TS 5.5 too.
from typescript.
Using https://www.npmjs.com/package/every-ts, this bisects to #58366. @weswigham
from typescript.
It looks like this bit was added:
if (location.flags & NodeFlags.Ambient) {
return; // References within types and declaration files are never going to contribute to retaining a JS import
}
Which explicitly skips marking references for declare
.
from typescript.
Related Issues (20)
- Web TS Server tries watching for files outside of project root HOT 1
- No completions for type parameters in generic function return type HOT 1
- Code generated by Webpack shows error in `exports` parameters in module lambdas as if they were a conflicting global `exports` HOT 3
- Debug Failure. Expected 55 <= 54 HOT 2
- Don't allow math operations on different branded numeric types HOT 2
- tsconfig.json option to ignore error TS2307 (or any specific error) HOT 5
- A strange behavior when checking `extends ReadonlyArray<any>` HOT 6
- Unique type HOT 4
- Design Meeting Notes, 7/26/2024
- Change quick fix JSDoc Import
- Errors compiling runtime agnostic JavaScript to TypeScript HOT 10
- Potentially wrong 'showConfig' results for default values, as it's used in the checker differently. HOT 9
- [5.6-beta] #57196 Searching ancestor and its references for default projects regresses TSServer performance for orphaned files HOT 2
- TS 5.6 Beta `BuiltinIteratorReturn`: can this be the default type argument of `BuiltinIterator`'s `TReturn`? HOT 6
- Detect the use of objects when constructed class is need for getters/setters and functions HOT 2
- [TS 5.6 Beta] Debug Failure. Expected 1661792 <= 1661791 HOT 1
- Conditional type evaluation not deferred when it depends on an implicitly-present type parameter HOT 1
- [NewErrors] 5.6.0-dev.20240728 vs 5.5.4 HOT 70
- [ServerErrors][JavaScript] 5.6.0-dev.20240728 vs 5.5.4 HOT 10
- [ServerErrors][TypeScript] 5.6.0-dev.20240728 vs 5.5.4 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript.