Skip to content

WebKitEntriesCallback interface should return WebKitEntry #18139

@AAudusseau

Description

@AAudusseau

TypeScript Version: 2.3.4

Why the WebKitEntriesCallback use in the readEntries method of a WebKitDirectoryReader has an Event object for parameter ? I think it should return an array of WebKitEntry.

Expected behavior:

interface WebKitEntriesCallback {
    (entries: WebKitEntry[]): void;
}

Actual behavior:

interface WebKitEntriesCallback {
    (evt: Event): void;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptWon't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions