Skip to content

Commit

Permalink
Window & globalThis
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Aug 29, 2019
1 parent 5edbb9e commit 929e4e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/util/src/assertSingletonPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

import isUndefined from './is/undefined';

interface PjsChecks {
// eslint-disable-next-line no-undef
type This = typeof globalThis;

interface PjsChecks extends This {
__polkadotjs: Record<string, boolean>;
}

Expand Down

0 comments on commit 929e4e3

Please sign in to comment.