Skip to content

Commit 0658746

Browse files
authored
Fix links to basarat.gitbook.io (labs42io#30)
1 parent cf79eee commit 0658746

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ In cases where it's not, most of the time a higher-level object will suffice as
309309

310310
Consider using object literals if you are finding yourself needing a lot of arguments.
311311

312-
To make it obvious what properties the function expects, you can use the [destructuring](https://basarat.gitbooks.io/typescript/docs/destructuring.html) syntax.
312+
To make it obvious what properties the function expects, you can use the [destructuring](https://basarat.gitbook.io/typescript/future-javascript/destructuring) syntax.
313313
This has a few advantages:
314314

315315
1. When someone looks at the function signature, it's immediately clear what properties are being used.
@@ -2350,7 +2350,7 @@ execution on the current stack, killing the process (in Node), and notifying you
23502350
JavaScript as well as TypeScript allow you to `throw` any object. A Promise can also be rejected with any reason object.
23512351
It is advisable to use the `throw` syntax with an `Error` type. This is because your error might be caught in higher level code with a `catch` syntax.
23522352
It would be very confusing to catch a string message there and would make
2353-
[debugging more painful](https://basarat.gitbooks.io/typescript/docs/types/exceptions.html#always-use-error).
2353+
[debugging more painful](https://basarat.gitbook.io/typescript/type-system/exceptions#always-use-error).
23542354
For the same reason you should reject promises with `Error` types.
23552355

23562356
**Bad:**
@@ -2504,7 +2504,7 @@ For TypeScript there is a powerful tool called [TSLint](https://palantir.github.
25042504

25052505
- [Immutable](https://www.npmjs.com/package/tslint-immutable) - rules to disable mutation in TypeScript
25062506

2507-
Refer also to this great [TypeScript StyleGuide and Coding Conventions](https://basarat.gitbooks.io/typescript/docs/styleguide/styleguide.html) source.
2507+
Refer also to this great [TypeScript StyleGuide and Coding Conventions](https://basarat.gitbook.io/typescript/styleguide) source.
25082508

25092509
### Use consistent capitalization
25102510

0 commit comments

Comments
 (0)