Skip to content

socket.io externs: promote export = const name:T to static class T #46

@haxiomic

Description

@haxiomic

socket.io has this pattern

declare const SocketIO: SocketIOStatic;
export = SocketIO;

interface SocketIOStatic {
}

The interface SocketIOStatic shouldn't be generated (but is) and the export = SocketIO; should promote the variable SocketIO into a class of static fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions