Currently digging into Vue-3 composition api and wondering how to use types in detail (using TypeScript on top of vue).
The documentation isn't very accurate on this, since there is only a short description about how to do Strings. Of course according to that I could simply use type Object, but I wonder how to declare object properties, to tell TypeScript what keys belong to a related object - in class style api this could be done the TypeScript way ... is there any extended source about how to do properties in detail in composition api?
PropType. I'll give you an example below.