Convert ContentMessages to Typescript

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-05-24 15:47:52 +01:00
parent 50b8445d4d
commit 0705883c8f
2 changed files with 127 additions and 99 deletions

View file

@ -15,6 +15,7 @@ limitations under the License.
*/
import * as ModernizrStatic from "modernizr";
import ContentMessages from "../ContentMessages";
declare global {
interface Window {
@ -22,6 +23,8 @@ declare global {
Olm: {
init: () => Promise<void>;
};
mx_ContentMessages: ContentMessages;
}
// workaround for https://github.com/microsoft/TypeScript/issues/30933