-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design Meeting Notes, 5/10/2017 #15747
Labels
Design Notes
Notes from our design meetings
Comments
This was referenced May 10, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
CheckJs feedback
Inference failures and explicit type parameters
@type
should take precedence, should propagate contextual type/** @type {number} */
syntax.Use of JSDoc types:
@type
always@type
tagsGlobals
window
is tracked under Add support for ESglobal
proposal #12902JSDoc value references to types
import { ..} from "mod"
#14377Errors as warnings
type {0} does not have property {1}
) and TS2322: (Type {0} is not assignable to type {1}
) and you have almost eliminated the whole value prop for TS- but all our errors are warnings, they do not block emit
- ppl seem to like warnings more than errors, no immediate action is implied
- @alexeagle noted that from his Java research ppl always ignore warnings, why have warnings if users do not care about them, and i they care, why do not they break the build?
- but you can disable
--noUnusedLocals
all together.. so why enable it to ignore its outputCompletions
Spread and call
--d with --allowjs
--declaration
with--allowJs
#7546The text was updated successfully, but these errors were encountered: