Closed 1057105012 closed 2 days ago
You didn't fill out the full template.
This already happens if you disable --noImplicitAny
, right? Does that not suffice?
It's hard to say because you didn't provide specific code examples as requested by the issue template, but you might also want noEmitOnError: false.
This issue has been marked as "Unactionable" and has seen no recent activity. It has been automatically closed for house-keeping purposes.
π Search Terms
When writing ts, sometimes the type must be given, such as lambda. If you donβt want to write it, you must also give it: any. One is fine, but if there are many, the mental burden is very heavy
I want any to be the default type. If the function parameter type, function return value type, and variable type are not specified, the default type will be automatically deduced to any instead of reporting an error.
For asynchronous functions, the return value is allowed to be declared as a basic type and automatically inferred as a Promise, and defaults are also allowed.
The main purpose is to natively support js syntax in ts. Make ts an add-on rather than a coercion
----- Other suggestions ------ The second problem is that the official documentation of typescript is best to set all the type gymnastics as advanced tutorials and the basic type system as basic tutorials. For most scenarios, we only need type inference of ts, and do not need so many type gymnastics. Moreover, some type gymnastics can be realized through some basic type combinations. this will be complicated
β Viability Checklist
β Suggestion
ζ
π Motivating Example
ζ
π» Use Cases