Closed somombo closed 6 years ago
I'm curious about this as well. I for one haven't used it and the example still worked fine, including type checking. Open for example src/index.ts
and try adding a bogus method, foobar()
or whatever and it will complain about it with:
Object literal may only specify known properties, and 'foobar' does not exist in type 'ComponentOptions<Vue, DefaultData
, DefaultMethods , DefaultComputed, PropsDefinition<Rec...'.
So I guess it's no longer needed... ?
In
Readme.md
, is the following line from the instructions still necessary:Or can we simply:
Thanks