Comments (5)
Related: #59029
from typescript.
Note that interface
declarations will never expand, because they're nominal. To get a type to expand, it needs to be declared as a type.
I've found the default expansion behavior taking this into account is pretty decent, and does most of what you ask here. More-detailed control would be nice but I don't see how it'd be ergonomic/sensible without guiding annotations to tel TSC how to expand the types. TypeDoc faces the same issue.
from typescript.
Related: #59029
Looks like for now I'll use this extension, which was in one of the stack overflow responses in the related thread. Seems to accomplish exactly what I need.
https://marketplace.visualstudio.com/items?itemName=mxsdev.typescript-explorer&ssr=false#overview
Hopefully at some point you guys can figure out some way to accomplish this. Can't be rocket science.
from typescript.
Is this level of sarcasm / condescension truly necessary? Good grief.
from typescript.
Is this level of sarcasm / condescension truly necessary? Good grief.
Im sorry. After looking at this, me being frustrated is no excuse to be rude. Im adding "being more respectful" to my feature request list for self-improvement (for real, no sarcasm intended).
from typescript.
Related Issues (20)
- Typescript allows assignment of wrong type to property on union type HOT 10
- Wrong inferred initial value in reduce HOT 2
- Type guard does not work with `Readonly` props HOT 1
- Allow --build with Intermediate Errors - shouldn't happen on tsconfig errors HOT 3
- Constraints of nested conditional types applied to constrained type variables are incorrect
- Inferred project that currently use "current directory of tsserver host" needs some special handling
- Unable to use rest on generic that has been narrowed to an object HOT 5
- Error out if using node builtin modules and global variables in browser environment HOT 2
- False positive for "Unreachable code detected" for code following `switch`/`case` with `allowUnreachableCode: false` HOT 3
- "const" was transformed to "var" when target is "esnext" HOT 3
- Understanding type checker cache HOT 5
- Allow `.js` file generated from `.tsx` file to be runnable in browser with less configuration HOT 5
- TS7022 (implicity 'any' type) popping up in a random scenario HOT 10
- Add `preparePaste` method to check if copied text should potentially have smart paste enabled or not HOT 1
- Organize Imports feature sort order disagrees with eslint import/order HOT 3
- Allows private property access without warnings HOT 1
- Overload order affects assignability of abstract constructors overloaded with regular constructors in interfaces
- Removing properties signatures from 'this' HOT 6
- Unexpected compile error when accessing prop via super.prop HOT 7
- Allow marking `export { x as y }` as `@deprecated` HOT 1
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.