Fix type signature
This commit is contained in:
parent
36c609c2c3
commit
394d2f0bff
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue