Comments (2)
cc: @weswigham
from typescript.
Yeah, see my comment on #58496 - the issue is that isEntityNameVisible
conflates does-not-exist with not-reachable. We should extend its' return type to represent both states separately, and only issue the "X does not have access to private Y" type errors when the entity name exists but isn't accessible, rather than doesn't exist at all (since when it doesn't exist at all, resolveName
in the checker pass is already going to error and we're just duplicating it with a more confusing error).
from typescript.
Related Issues (20)
- Recursive type strangely resolved to never HOT 3
- [5.5 beta] package.json `"type"` lookup in non-Node.js `module` is unexpected HOT 10
- [NewErrors] 5.5.0-dev.20240526 vs 5.4.5 HOT 63
- [ServerErrors][JavaScript] 5.5.0-dev.20240526 HOT 11
- [ServerErrors][TypeScript] 5.5.0-dev.20240526 HOT 20
- Type Error in Array.includes() method when the array contains only string keys
- Type Error in Array.includes() method when the array contains only string keys HOT 4
- Attribute and Method Visibility depending on generics in form of `private` return type HOT 3
- String template literals as object keys don't get validated correctly HOT 4
- WebWorker NotificationOptions type issue HOT 1
- Type a standard import with jsdoc only HOT 3
- tsc: "Cannot read properties of undefined (reading 'parent')" HOT 2
- Incorrect intersection for calced constructor HOT 1
- Assignation of incorrect value doesn't type error HOT 1
- TS 5.5.0-beta Regression: generated .d.ts is not compatible HOT 2
- [isolatedDeclarations] Should imported JSON files be emitted when "resolveJsonModules", "emitDeclarationOnly", and "isolatedDeclarations" are all enabled?
- Google feedback on TS 5.5-beta HOT 4
- Design Meeting Notes, 5/28/2024 HOT 3
- Template literal type reduction is inconsistent (regression in 5.5-beta) HOT 2
- TypeScript emits d.ts file that is invalid for complex mapped type.
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.