There was an error while loading. Please reload this page.
1 parent 342bd25 commit 8860f0dCopy full SHA for 8860f0d
README.md
@@ -905,7 +905,7 @@ Switch statements should have the following form:
905
}
906
```
907
908
- - Each switch group except default should end with `break`, `return`, or `throw`.
+ - Each switch group should end with `break`, `return`, or `throw`.
909
- Each switch group should have a default.
910
911
**[top](#table-of-contents)**
@@ -919,13 +919,13 @@ Try statements should have the following form:
919
```typescript
920
try {
921
// ...
922
- } catch (error: Error) {
+ } catch (error) {
923
924
925
926
927
928
929
930
} finally {
931
0 commit comments