mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-12 21:58:58 +09:00
Make type definition for 'is-root' better
This commit is contained in:
parent
fdcc994291
commit
a05c94437c
8
src/@types/is-root.d.ts
vendored
8
src/@types/is-root.d.ts
vendored
@ -1,5 +1,7 @@
|
|||||||
declare module 'is-root';
|
declare module 'is-root' {
|
||||||
|
function isRoot(): boolean;
|
||||||
|
|
||||||
declare namespace isRoot {
|
namespace isRoot {} // Hack
|
||||||
export function isRoot(): boolean;
|
|
||||||
|
export = isRoot;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user