Skip to content

Fix Storage interface for getItem method #7562

Description

@falsandtru

TypeScript Version:

master

Diff

https://www.w3.org/TR/webstorage/

interface Storage {
-    getItem(key: string): any;
+    getItem(key: string): string;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Breaking ChangeWould introduce errors in existing codeBugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions