Skip to content

Commit 0668e48

Browse files
author
Rodolphe Belouin
committed
Stop importing @types/history
The typescript compiler (tsc 2.4.2) complains about makeRouterDriver importing '@types/history' instead of 'history'.
1 parent 5df822b commit 0668e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/makeRouterDriver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {makeHistoryDriver} from '@cycle/history';
22
import {RouteMatcher} from './interfaces';
33
import {RouterSource} from './RouterSource';
4-
import {History} from '@types/history';
4+
import {History} from 'history';
55

66
/**
77
* Instantiates an new router driver function using the same arguments required

0 commit comments

Comments
 (0)