Skip to content

Commit

Permalink
Merge pull request #1248 from wojtczal/fix-inconsistent-key-property-…
Browse files Browse the repository at this point in the history
…type

use Key type for Attributes interface key property
  • Loading branch information
marvinhagemeister committed Oct 28, 2018
2 parents 420a45c + f3d7a71 commit 7dda9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preact.d.ts
Expand Up @@ -22,7 +22,7 @@ declare namespace preact {
type PreactHTMLAttributes = ClassAttributes<any>;

interface Attributes {
key?: string | number | any;
key?: Key;
jsx?: boolean;
}

Expand Down

0 comments on commit 7dda9a2

Please sign in to comment.