Repository navigation
Suggestion Backlog Slog, 8/6/2018 #26241
Copy link
Copy link
Closed
Labels
Design NotesNotes from our design meetingsNotes from our design meetings
Description
- Proposal: Variadic Kinds -- Give specific types to variadic functions #5453 Variadic kinds - what use cases remain here?
- Disallow expressions of type
voidto be used in truthiness checks #26234 Disallow truthy checks of void - out of range index in a tuple magically works #5203 Disallow OOB access on tuples
- Polymorphic "this" for static members #5863 Static polymorphic
this - T[K] should be never when T is never #23005
T[K]should beneverwhenKisnever - Using string enum as key in {[key]: Type} throws not an index signature #22892
stringenumobject should be indexable type - esModuleInterop should work even when compiling to esnext modules #22851
esModuleInteropshould work whentarget=esnext - Abstract classes that implement interfaces shouldn't require method signatures #22815 Abstract classes that implement interfaces shouldn't require method signatures
- Casting to Partial<x> seems to be errorful #22806
Partial<T>should be a weak type - parameter initializer is bound to the wrong variable #22769 Allow unshadowed parameter initializer references in ES6+
- Typing number of children in TSX #22759 Let JSX children be subject to tupleness
- Bitwise enum initializer: compile-time constant but not allowed as a type reference? #22709 Allow references to literal-ish-initialized enums in type positions
- Proposal: Overload Function.bind for when no argArray is provided. #22669 Add a new overload to
Function#bind - Proposal: Easier Migration with Loose Mode in TypeScript Files #22665 Add a mode to make TS act like JS
- tsconfig cannot be specified along with an explicit list of files to compile - TS5042 #22649 Combine tsconfig with file list
- Inferred type symbol in conditional type should be visible-but-banned in falsy arm #22610 Keep
infervariable in scope in false arm of conditional type - Proposal: better type narrowing in overloaded functions through overload set pruning #22609 Do some type guards based on overload when a good discriminant is present
- Provide a back-compat mechanism for bundled .d.ts files in package.json #22605 Provide a back-compat mechanism for bundled .d.ts files in package.json
- typeof union.membername errors. #22598 Allow speculative union type property access in
typeof(expression) operands - Mapped types enumerating keys in
stringbehave poorly #22509 Something something mapped types - Any number can be assigned to enum member type #22311 Error on out-of-scope literal assigned to enum
- Allow bitwise test on
undefined#22230 Allow implicitundefined->0coercion understrictNullChecksfor bitwise ops - foo.ts is resolved before foo.d.ts even if the latter is in files[] #22208 Prefer .d.ts over .ts if it's in
filesarray - "...args: infer" on an overloaded function chooses only one function head #26136 Arg union type inference for overloads
- Add a strict flag forbidding impossible generic declarations #26129 Forbid illogical generic declarations
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Design NotesNotes from our design meetingsNotes from our design meetings
Activity
RyanCavanaugh commentedon Aug 6, 2018
voidto be used in truthiness checks #26234 Disallow testingvoidexprsthisthisare right outthisor static-this?T[K]should beneverPartial<T>should be weak?undefined#22230 undefined/null in&/|jcalz commentedon Aug 7, 2018
Wounded in action?
EDIT: It suddenly occurs to me that this is probably "Works As Intended" as acronymized by Yoda. nmv...
RyanCavanaugh commentedon Aug 7, 2018
Well, it's accepted
Wondering if actionable
We're imitating ActionScript