mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
forum: resolve some typings issues & move Notifications to not use Component#render
This commit is contained in:
4
js/webpack-flarum-shims.d.ts
vendored
4
js/webpack-flarum-shims.d.ts
vendored
@@ -5,13 +5,13 @@ import * as _dayjs from 'dayjs';
|
||||
import classNames from 'classnames';
|
||||
|
||||
interface m extends Mithril.Static {
|
||||
prop: Stream.Static;
|
||||
prop: typeof Stream;
|
||||
}
|
||||
|
||||
declare global {
|
||||
const m: m;
|
||||
const dayjs: typeof _dayjs;
|
||||
const classNames: classNames;
|
||||
const classNames: typeof classNames;
|
||||
}
|
||||
|
||||
export as namespace Mithril;
|
||||
|
Reference in New Issue
Block a user