w3c / manifest-app-info

Web App Manifest - Application Information
https://w3c.github.io/manifest-app-info/
Other
28 stars 13 forks source link

Adding "type" to the examples of Screenshot object #44

Open webmaxru opened 3 years ago

webmaxru commented 3 years ago

I think that adding type to the Example 1 and Example 2 of the Screenshot object will improve developer experience.

This member comes from ImageResource object and it's optional (so actually the examples are syntactically correct). But all other optional members are included there and it might cause some confusion (or at least some extra time for the research). To improve DX, I suggest adding "type": "image/png", to both examples.