1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

bring local dev flarum-webpack-config to core for easier development

This commit is contained in:
David Sevilla Martin
2020-03-07 10:15:47 -05:00
parent 8ea7f9bc17
commit 4910205dc7
8 changed files with 1909 additions and 593 deletions

19
js/webpack-flarum-shims.d.ts vendored Normal file
View File

@@ -0,0 +1,19 @@
import * as Mithril from 'mithril';
import Stream from 'mithril/stream';
import * as _dayjs from 'dayjs';
import classNames from 'classnames';
interface m extends Mithril.Static {
prop: Stream.Static;
}
declare global {
const m: m;
const dayjs: typeof _dayjs;
const classNames: classNames;
}
export as namespace Mithril;
export {};