1
0
mirror of https://github.com/flarum/core.git synced 2025-10-26 21:21:28 +01:00

Convert extend util to TypeScript (#2928)

* Allow using file extension in core compat imports

Necessary for extend imports to have proper typings as we also have an unrelated extend/index.js file

* Add .ts file extension to extend imports for typings

* Fix changes to proxifyCompat regex breaking non-core import paths

* Move utility types to global types

Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
David Sevilla Martin
2021-11-08 16:52:13 -05:00
committed by GitHub
parent 6aad961545
commit b90001d98c
5 changed files with 51 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
import * as extend from './extend';
import * as extend from './extend.ts';
import Session from './Session';
import Store from './Store';
import BasicEditorDriver from './utils/BasicEditorDriver';