Convert DeviceListener to Typescript

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-05-22 12:54:03 +01:00
parent dc37469808
commit 3bf5e003a1
2 changed files with 45 additions and 48 deletions

View file

@ -16,6 +16,7 @@ limitations under the License.
import * as ModernizrStatic from "modernizr";
import ToastStore from "../stores/ToastStore";
import DeviceListener from "../DeviceListener";
declare global {
interface Window {
@ -25,6 +26,7 @@ declare global {
};
mx_ToastStore: ToastStore;
mx_DeviceListener: DeviceListener;
}
// workaround for https://github.com/microsoft/TypeScript/issues/30933