Remove Mithril namespace export from shims.d.ts (#2347)

From using PhpStorm to try and see if the autocomplete works properly, it appears as it doesn't. The intention was to not have to import Mithril every time we wanted to type something with Mithril.*, but that doesn't seem to be possible - and it's not a big deal anyway
This commit is contained in:
David Sevilla Martín 2020-10-02 19:34:06 -04:00 committed by GitHub
parent 4446a6fd2e
commit ba772ab4fc

View File

@ -8,14 +8,6 @@ import * as _$ from 'jquery';
// Globals from flarum/core
import Application from './src/common/Application';
/**
* Export Mithril typings globally.
*
* This lets us use these typings without an extra import everywhere we use
* Mithril in a TypeScript file.
*/
export as namespace Mithril;
/**
* flarum/core exposes several extensions globally:
*