Fix type signature

This commit is contained in:
Daniel Gasienica 2018-04-26 16:19:35 -04:00
parent 36c609c2c3
commit 394d2f0bff

View file

@ -114,7 +114,7 @@ exports.createName = () => {
return buffer.toString('hex');
};
// getRelativePath :: String -> IO Path
// getRelativePath :: String -> Path
exports.getRelativePath = (name) => {
if (!isString(name)) {
throw new TypeError("'name' must be a string");