Skip to content

Commit

Permalink
use Path replace string
Browse files Browse the repository at this point in the history
  • Loading branch information
huangteng01 authored and molefrog committed Nov 19, 2019
1 parent d96542b commit 85b0177
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion types/type-specs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ const invalidParamsWithGeneric: Params<{ id: number }> = { id: 13 }; // $ExpectE
* Hooks API
*/
const [location, setLocation] = useLocation();

location; // $ExpectType string

setLocation(); // $ExpectError
Expand Down

0 comments on commit 85b0177

Please sign in to comment.