forked frommicrosoft/TypeScript
- Notifications
You must be signed in to change notification settings - Fork0
Commit85945c3
committed
Fix throws clause inference for arrow functions
- Arrow functions without explicit throws clauses can now properly infer throws from their body- Removed validation that incorrectly required arrow functions to have explicit throws clauses- Arrow functions calling other throwing functions still require explicit throws clauses- Maintains proper validation for functions with explicit throws clauses1 parent0cfe594 commit85945c3
1 file changed
+19
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39687 | 39687 | | |
39688 | 39688 | | |
39689 | 39689 | | |
39690 | | - | |
39691 | | - | |
39692 | | - | |
39693 | | - | |
39694 | | - | |
39695 | | - | |
39696 | | - | |
39697 | | - | |
39698 | | - | |
39699 | | - | |
39700 | | - | |
39701 | | - | |
39702 | | - | |
| 39690 | + | |
| 39691 | + | |
| 39692 | + | |
| 39693 | + | |
| 39694 | + | |
| 39695 | + | |
| 39696 | + | |
| 39697 | + | |
| 39698 | + | |
| 39699 | + | |
| 39700 | + | |
| 39701 | + | |
| 39702 | + | |
| 39703 | + | |
| 39704 | + | |
| 39705 | + | |
| 39706 | + | |
| 39707 | + | |
| 39708 | + | |
39703 | 39709 | | |
39704 | 39710 | | |
39705 | 39711 | | |
| |||
0 commit comments
Comments
(0)