Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Child shouldn't allow null or undefined #50

@thequailman

Description

@thequailman

https://github.com/MithrilJS/mithril.d.ts/blob/master/index.d.ts#L191

In my opinion, null | undefined should be removed from this type. It should be more strict, and users should have to use an empty array or placeholder vnode in order to avoid Mithril having to check if something is null or undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions