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 17a7155f60
commit 27d562f3fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
js/shims.d.ts vendored
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:
*