1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 07:57:46 +02:00

Register jQuery with shims

This commit is contained in:
Alexander Skvortsov
2020-09-17 23:17:42 -04:00
committed by Franz Liedke
parent bdd30ceecc
commit 27017b7181

View File

@@ -2,16 +2,18 @@ import * as Mithril from 'mithril';
import Stream from 'mithril/stream';
import * as _dayjs from 'dayjs';
import * as _$ from 'jquery';
interface m extends Mithril.Static {
prop: typeof Stream;
}
declare global {
const $: typeof _$;
const m: m;
const dayjs: typeof _dayjs;
}
export as namespace Mithril;
export {};
export {};