Move the instance definition to the Window

This commit is contained in:
Travis Ralston 2020-05-25 16:06:05 -06:00
parent 0cec74cc2b
commit e5c2d17015
2 changed files with 62 additions and 41 deletions

View file

@ -15,10 +15,12 @@ limitations under the License.
*/
import * as ModernizrStatic from "modernizr";
import { IMatrixClientPeg } from "../MatrixClientPeg";
declare global {
interface Window {
Modernizr: ModernizrStatic;
mxMatrixClientPeg: IMatrixClientPeg;
Olm: {
init: () => Promise<void>;
};