Remove the relative path from the color import

Including just `@types/d3-interpolate` in a project (and not `@types/d3-color`) results in
```
ERROR in [default] [...]\node_modules\@types\d3-interpolate\index.d.ts:6:33
Cannot find module '../d3-color'.
```
This commit is contained in:
Kai Ruhnau
2016-08-09 19:16:58 +02:00
committed by GitHub
parent 625c46c700
commit 5afbe35e9a

View File

@@ -3,7 +3,7 @@
// Definitions by: Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>, Tom Wanzek <https://github.com/tomwanzek>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { ColorSpaceObject } from '../d3-color';
import { ColorSpaceObject } from 'd3-color';
// --------------------------------------------------------------------------