Repository navigation
Suggestion Backlog Slog, 9/26/2016聽#11215
Copy link
Copy link
Closed
Labels
Design NotesNotes from our design meetingsNotes from our design meetings
Description
- Handling input file extensions other than
.ts,.js,.tsx, and.jsx聽#10939 Other file extensions- Simple implementation
- Is completely divorcing the file kind from its extension actually a good idea?
- Affects module resolution, of course
- 馃憤 for 'preserve-js'
- 馃憥 overall
- tsc CLI: allow boolean options to have explicit false value聽#10967 Explicit false values on commandline
- 馃憤
- Add "related spans" to diagnostic messages聽#10489 Related spans in diagnostic messages
- More examples of how this would be useful
- How would this be handled in the commandline?
- Add compiler option to parse in strict mode聽#10758 Option to parse in strict mode
- Problem: Our services file had a strict-mode reserved identifier, which we didn't catch
- Add a flag to parse all files in strict mode
- 馃憤
--alwaysStrict, also emits"use strict";in files which require it- Accepting PRs
- Ability to skip elements in tuple type annotation聽#2671 Ability to skip elements in tuple type annotation
- Useful for destructuring
- 馃憥
- Suggestion: use
:{type}to omit formal parameter when declare function interface or something else聽#10984 Skip parameter names in positions- Just use
a,b,c,d,e? - Unclear from inspection what this really does
- 馃憥
- Just use
- Interactive init聽#10964 Interactive init
- Everyone in the room hates
npm's interactive init - Putting more things with comments in tsconfig.json would be better
- Asking people questions they don't understand is a big turn-off
- 馃憥
- Everyone in the room hates
- strictNullChecks mode - variable initial value is ignored in the control flow聽#10640 Initializer not tracked in strictNullChecks
- Treat this as if it were a set of following property assignments?
- Performance problem if we treat all types a union of themselves and their un-undefined counterparts
- It is weird this doen't behave the same as its expanded counterpart
- Design limitation
- Will think about some more
- Optimize
tsc --wusing the CoS builder聽#10879 Make 'watch' use new faster compile-on-save code- Move code from server to tsc that can do this correctly for isolated modules
- 馃憤
unknown: less-permissive alternative toany聽#10715unknowntype- What's the difference between this and
{} | null | undefined? - What's the intended semantics?
- What's an error here but not for
any? - Why is it legal to pass this to
Array.isArray... but notArray#concat, presumably? - A type that expands through type guards and property access
- Should this just be what we do with any?
- Could be represented with the mix of known properties and
any's behavior- Except also not assignable to anything
- Revisit
- What's the difference between this and
- Do not emit files with no statments聽#10908 Emit with no-statement file in AMD and outfile
- Not safe when file goes from 1 -> 0 statements
- Just rename to .d.ts
- 馃憥
- --strictNullChecks does not gaurd against optional arguments assignment聽#9450 strictNullChecks does not guard against optional arguments
- Unrelated to parameter bivariance
- Burdened by bad definition files written when we didn't enforce this correctly
- Revisit
- Covariance / Contravariance Annotations聽#1394 Co/contra-variance annotations
- Coming up for Promises more
- Should look into this
- Support Custom JSX Pragma聽#9582 Custom JSX factory
jsxFactory: sure- Accepting PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Design NotesNotes from our design meetingsNotes from our design meetings
Activity