1
0
mirror of https://github.com/flarum/core.git synced 2025-07-09 19:06:23 +02:00
Files
php-flarum/js
Alexander Skvortsov d695d96e00 Various TypeScript improvements (#2309)
- Use Mithril.Attributes as base for ComponentAttrs, remove =any from class signature for Component
- Convert Alert to TypeScript, introduce AlertAttrs interface
- Convert AlertManagerState to TypeScript, add overload signatures for `show`, introduce AlertState interface for stored Alerts.
- Set ComponentAttrs as default T for Component
- Make attrs in AlertAttrs optional
- Add AlertIdentifier interface, simplify show type signature
- Remove mithril patch shim, as all patches onto m are now deprecated
- Use Mithril.Static for shim
2020-10-02 18:49:40 -04:00
..
2018-06-20 13:20:31 +09:30
2018-06-20 13:20:31 +09:30
2020-09-23 22:40:37 -04:00
2020-09-23 22:40:37 -04:00
2020-09-23 22:40:37 -04:00