From 27017b718160009ccf2861e4a91c2b354bd0770e Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Thu, 17 Sep 2020 23:17:42 -0400 Subject: [PATCH] Register jQuery with shims --- js/webpack-config-shims.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/webpack-config-shims.d.ts b/js/webpack-config-shims.d.ts index 527d3eb53..630f7b7a3 100644 --- a/js/webpack-config-shims.d.ts +++ b/js/webpack-config-shims.d.ts @@ -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 {}; \ No newline at end of file +export {};