8000 WebIDL's 'void' type is changing to 'undefined' · Issue #896 · microsoft/TypeScript-DOM-lib-generator · GitHub
[go: up one dir, main page]

Skip to content
WebIDL's 'void' type is changing to 'undefined' #896
Closed
@tabatkins

Description

@tabatkins

As part of efforts to finally add an 'undefined' type to WebIDL (so methods/etc don't have to generalize their type to 'any'), it was decided to actually add 'undefined' as the type name, and so the previous function return signature 'void' is being removed for redundancy.

See whatwg/webidl#906 for details on the change.

This change will be merged shortly; this bug is a heads-up to adjust your IDL parser (see the PR for the changes to the grammar; it's quite small).

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

      0