mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 14:58:09 +09:00
Make type definition for 'is-root' better
This commit is contained in:
parent
5c52db9f35
commit
2140b41056
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 New Issue
Block a user