mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
@@ -46,7 +46,6 @@ interface WindowWithLibraries {
|
||||
ReactRouterDom: typeof import('react-router-dom');
|
||||
PropTypes: typeof import('prop-types');
|
||||
Luxon: typeof import('luxon');
|
||||
StyledComponents: typeof import('styled-components');
|
||||
PostUtils: {
|
||||
formatText: typeof formatText;
|
||||
messageHtmlToComponent: (html: string, ...args: any[]) => JSX.Element;
|
||||
@@ -103,7 +102,6 @@ window.ReactBootstrap = require('react-bootstrap');
|
||||
window.ReactRouterDom = require('react-router-dom');
|
||||
window.PropTypes = require('prop-types');
|
||||
window.Luxon = require('luxon');
|
||||
window.StyledComponents = require('styled-components');
|
||||
|
||||
// Functions exposed on window for plugins to use.
|
||||
window.PostUtils = {
|
||||
|
||||
Reference in New Issue
Block a user