Convert DeviceListener to Typescript
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
dc37469808
commit
3bf5e003a1
2 changed files with 45 additions and 48 deletions
2
src/@types/global.d.ts
vendored
2
src/@types/global.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue