mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 11:03:08 +02:00
Make type definition for 'is-root' better
This commit is contained in:
parent
fdcc994291
commit
a05c94437c
1 changed files with 5 additions and 3 deletions
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 {
|
||||
export function isRoot(): boolean;
|
||||
namespace isRoot {} // Hack
|
||||
|
||||
export = isRoot;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue