mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 11:34:36 +08:00
chore: add dummy imports for consistency
This commit is contained in:
parent
bb29e8793e
commit
35bca760c9
4
extensions/flags/js/src/@types/shims.d.ts
vendored
4
extensions/flags/js/src/@types/shims.d.ts
vendored
|
@ -1,3 +1,7 @@
|
||||||
|
import 'flarum/common/models/Post';
|
||||||
|
import 'flarum/forum/ForumApplication';
|
||||||
|
import 'flarum/forum/components/Post';
|
||||||
|
|
||||||
import Flag from '../forum/models/Flag';
|
import Flag from '../forum/models/Flag';
|
||||||
import FlagListState from '../forum/states/FlagListState';
|
import FlagListState from '../forum/states/FlagListState';
|
||||||
import Mithril from 'mithril';
|
import Mithril from 'mithril';
|
||||||
|
|
3
extensions/likes/js/src/@types/shims.d.ts
vendored
3
extensions/likes/js/src/@types/shims.d.ts
vendored
|
@ -1,4 +1,5 @@
|
||||||
import Post from 'flarum/common/models/Post';
|
import 'flarum/common/models/Post';
|
||||||
|
|
||||||
import User from 'flarum/common/models/User';
|
import User from 'flarum/common/models/User';
|
||||||
|
|
||||||
declare module 'flarum/common/models/Post' {
|
declare module 'flarum/common/models/Post' {
|
||||||
|
|
4
extensions/mentions/js/src/@types/shims.d.ts
vendored
4
extensions/mentions/js/src/@types/shims.d.ts
vendored
|
@ -1,3 +1,7 @@
|
||||||
|
import 'flarum/forum/ForumApplication';
|
||||||
|
import 'flarum/common/models/User';
|
||||||
|
import 'flarum/common/models/Post';
|
||||||
|
|
||||||
import MentionFormats from '../forum/mentionables/formats/MentionFormats';
|
import MentionFormats from '../forum/mentionables/formats/MentionFormats';
|
||||||
import type BasePost from 'flarum/common/models/Post';
|
import type BasePost from 'flarum/common/models/Post';
|
||||||
|
|
||||||
|
|
4
extensions/messages/js/src/@types/shims.d.ts
vendored
4
extensions/messages/js/src/@types/shims.d.ts
vendored
|
@ -1,3 +1,7 @@
|
||||||
|
import 'flarum/forum/routes';
|
||||||
|
import 'flarum/forum/ForumApplication';
|
||||||
|
import 'flarum/forum/states/ComposerState';
|
||||||
|
|
||||||
import type Dialog from '../common/models/Dialog';
|
import type Dialog from '../common/models/Dialog';
|
||||||
import DialogListState from '../forum/states/DialogListState';
|
import DialogListState from '../forum/states/DialogListState';
|
||||||
|
|
||||||
|
|
6
extensions/tags/js/src/@types/shims.d.ts
vendored
6
extensions/tags/js/src/@types/shims.d.ts
vendored
|
@ -1,3 +1,9 @@
|
||||||
|
import 'flarum/forum/routes';
|
||||||
|
import 'flarum/common/Application';
|
||||||
|
import 'flarum/common/models/Discussion';
|
||||||
|
import 'flarum/forum/ForumApplication';
|
||||||
|
import 'flarum/admin/components/PermissionGrid';
|
||||||
|
|
||||||
import type Tag from '../common/models/Tag';
|
import type Tag from '../common/models/Tag';
|
||||||
import type TagListState from '../common/states/TagListState';
|
import type TagListState from '../common/states/TagListState';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user