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:
19
js/webpack-flarum-shims.d.ts
vendored
Normal file
19
js/webpack-flarum-shims.d.ts
vendored
Normal 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 {};
|
Reference in New Issue
Block a user