Repository navigation
Suggestion Backlog Slog, 9/13/2017 #18394
Copy link
Copy link
Closed
Labels
Design NotesNotes from our design meetingsNotes from our design meetings
Description
- Surprising
Not all code paths return a value#18319 Perhaps-unexpected implicit return error is bad? - allow typeof expressions in extends and implements list #18271 Allow
typeofinextends/implementsclauses - Cannot implement generic type guarding function #18202 Make type guards be an inference position
- Merging constants with namespaces #18163 Merge value namespaces with other values
- Discriminated Unions don't cast with single type #18056 Single-case discriminated unions don't produce
never - Need way to express hybrid types that are indexable for a subset of properties #17867 "Fallback" index signatures for non-declared properties only
- Can we define a ReadOnly interface directly? #17769
readonlydeclaration modifier for interfaces - Star-imported module should conform to the type of a string-indexed object #17622 Module object imports should be able to implicitly satisfy index signatures
- Extending string-based enums #17592 Extending an existing string enum
- Infer extra parameter types from default values #17559 Issue an implicit any warning on an implicit-any parameter
- SUGGESTION: enable forceConsistentCasingInFileNames by default #17542 Turn on consistent filename enforcement by default
- Add simulated nominal type for COM SAFEARRAY and VarDate to lib.scripthost.d.ts #17526 Add psuedonominal type for VarDate and COM SAFEARRAY in lib.scripthost.d.ts
- Recursive generics in function parameters are inferred as {}, and produce funky Intellisense #17522 Recursive generic constraint produce unexpected
{} - Support inferred string-modified union types #17512 Support inferring types of concatenation of string constants/unions
- Allow calls to overloaded functions when all possible combinations of union type parameters resolve to valid overloads #17471 Something about generic overloads
- Suggestion: CFA, assignment, strict null checks and function scope #17449 Better CFA when a variable is definitely initialized (and stays initialized)
- Typescript forbids safety checks that check equality of values with different generic types #17445 Allow comparison of any two type variables
- Support non-null assertion for destructuring #17390 Support non-null assertion somewhere in the destructuring syntax
- Arrow function is not compatible with ordinary one #17113 Overriding prototype method with arrow function should be allowed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Design NotesNotes from our design meetingsNotes from our design meetings
Activity
RyanCavanaugh commentedon Sep 18, 2017
Not all code paths return a value#18319 Perhaps-unexpected implicit return error is bad?typeofinextends/implementsclausesextendsthis is badimplementsthis is doable with parser changesvarstatement in this casenever[...]: string?import *; or try setting the same flag onimport *s as object literalstsc --inittsc --initbut off by default{}constper usual===operation is sound but that doesn't make it a good ideaBonus slog: How to ban
[1, 2, 3].sort()?