Comments (2)
Given that this behavior is considered legacy, maybe best to continue not to support it? Seems like it's one of those "well, it works, but the spirit of the API is that it shouldn't" things.
from typescript-dom-lib-generator.
The main blocker was that the setter type had to be same with the getter one, but that limitation has been lifted. I don't see why we should not support it.
from typescript-dom-lib-generator.
Related Issues (20)
- I tried to make HTMLFormElement["method"] a stricter type by turning it into a union, but it doesn't seem to work? HOT 1
- parameter in FormData doesn't match MDN reference HOT 2
- Missing "lock" method in ScreenOrientation HOT 10
- The "element-tagname" comment is HTMLElement-specific but should not be.
- Please split the lib.dom.d.ts into smaller files
- Inconsistent signatures for alert() vs prompt()/confirm() HOT 1
- JSX infrastructure? HOT 1
- Missing iterators for `FileSystemDirectoryHandle` HOT 6
- `Symbol.toStringTag` is missing on `File`, `Blob` and `FormData` HOT 2
- Why is pageYOffset marked as deprecated? HOT 6
- "letterSpacing" not defined in interface CanvasTextDrawingStyles (CanvasRenderingContext2D) HOT 5
- Add missing lifecycle methods for elements with Custom Element Form Association.
- Generate MDN links for all function signatures
- `OverconstrainedError` should inherit `DOMException`
- Error TS2430 (TS) Interface 'WebGLRenderingContext' incorrectly extends interface 'WebGLRenderingContextBase'.
- CSSStyleDeclaration misses dashed attributes
- Type for `DataTransferItem.kind` is broader than implied by spec HOT 1
- `ReadableStreamReadDoneResult` shouldn't be generic and should have `value: undefined`
- `ReadableStream` should be async-iterable
- fetch type "GET" or "HEAD" with a body should be a type error
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-dom-lib-generator.