Ashley Claymore

Results 127 comments of Ashley Claymore

Order is one of the key issues that make Sets harder to add as primitives compared to records and tuples. Tuple entries are ordered by their index (numbers), and Record...

Some information in https://github.com/tc39/proposal-record-tuple/issues/9 and https://github.com/tc39/proposal-record-tuple/issues/82#issuecomment-1135651745 The conflict is only conceptual rather than breaking. In TypeScript `Record` exists only as a global symbol in the 'type space', where as the...

> Also, can this syntax be supported in typescript currently? Hi @sscaff1, this proposal is in Stage 2 of the TC39 proposal which is too early in the design phase...

To suppress the syntax errors in VSCode you can override the `"javascript.validate.enable"` setting for that workspace. Some more info here: https://stackoverflow.com/questions/36327096/vscode-linter-es6-es7-babel-linter

> Why allow `class A extends Tuple {` at all? One argument is consistency with other recently added types, `extends BigInt` is allowed in the same way. Hard to say...

Hi @AprilArcus, I'm hoping something more complete can be written up on the status of this soon. In lieu of that, a short summary is that we have received feedback...

> does this preclude different R&T instances with equivalent values being SameValue equals? my immediate expectation would be that if strict equality isn’t possible, that they could be compared using...

Hi @AprilArcus, are there particular situations where you would find having an operator useful over having to use a function call? Adding a new _overload_ to `==` is, I feel,...

Hi @gregmartyn, I'll try and respond as best I can! > If the problem (interning) already exists with strings, You are correct that comparing string with `===` has a similar...

While a dedicated key creating API does not prevent mutated objects being unstable sources of key generation, it does still have benefits compared to `JSON.stringify` - it could help avoid...