mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 20:02:58 +01:00
9c91db5d31
This makes it easier to visually compare differences in the NetworkController unit tests between core and this repo.
21 lines
472 B
TypeScript
21 lines
472 B
TypeScript
// In order for variables to be considered on the global scope they must be
|
|
// declared using var and not const or let, which is why this rule is disabled
|
|
/* eslint-disable no-var */
|
|
|
|
declare class Platform {
|
|
openTab: (opts: { url: string }) => void;
|
|
|
|
closeCurrentWindow: () => void;
|
|
}
|
|
|
|
export declare global {
|
|
var platform: Platform;
|
|
|
|
namespace jest {
|
|
interface Matchers<R> {
|
|
toBeFulfilled(): Promise<R>;
|
|
toNeverResolve(): Promise<R>;
|
|
}
|
|
}
|
|
}
|