UNPKG
can-link
Version:
latest (1.0.2)
next (2.0.0)
2.0.0
1.0.2
1.0.1
1.0.0
0.0.0
Returns true if a link can be created
github.com/zkochan/can-link
zkochan/can-link
can-link
/
index.d.ts
8 lines
(5 loc)
•
197 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
= canLink
declare
function
canLink
(
existingPath
:
string
,
newPath
:
string
):
Promise
<
boolean
>
declare
namespace
canLink
{
function
sync
(
existingPath
:
string
,
newPath
:
string
):
boolean
}