mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-10 23:54:26 +00:00
Prior to this commit `redirect()` hook was mistakenly typed and documented the same way as `refresh()`. It's now fixed for v2 and v3 now. While v3 is provided with a positive and a negative test cases, v2 is only provided with a positive one. This is because v2 uses typescript of version 2.4 which is not able to catch the failing test case.