You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no, disable TS2339 (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
So turn them all into warnings
- but all our errors are warnings, they do not block emit
just make them all warnings level-wise
- 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?
not all errors created equal, syntax errors are different from noUnusedLocals
- but you can disable --noUnusedLocals all together.. so why enable it to ignore its output
No conclusion here, same discussion like the last 10 times we talked about this, same conclusion:)
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: