mirror of
https://github.com/flarum/framework.git
synced 2025-03-02 07:55:26 +08:00

Unfortunately, TypeScript only supports strings and classes for JSX tags. Therefore, our type definition should only allow for those two types. see https://github.com/microsoft/TypeScript/issues/14789#issuecomment-412247771