How to add function to prototype of an interface that is actually a class?
It is easy to add add function to prototype of a value, for example:
I’ve had this error “Property ‘$t’ does not exist on type ‘ComponentCustomProperties'” since I updated the vue-router package, how can I resolve it?
enter image description here
How to create a simple component inline?
I have a component that looks like this: