katashin
1baa0a7884
fix(types): add `inject` option in functional component options type ( #6530 )
7 years ago
Herrington Darkholme
38d52182bf
fix(types): allow variadic plugin use ( #6363 )
fix #6357
7 years ago
JounQin
0b2929a3d6
types: add EsModuleComponent definition ( #6477 )
7 years ago
Evan You
1b7ddd7a35
feat(types): expose $vnode
7 years ago
Luke Bennett
9831b403cf
Add warnHandler to allow users to set a custom warn callback, similar to errorHandler ( #5883 )
8 years ago
Evan You
deae1ff851
fix type tests
8 years ago
Melvin Lee
92d61922e9
Add TypeScript definition for ssrContext ( #5654 )
8 years ago
Async0x42
1288386722
Support Vue.delete(arr, index) in TypeScript definitions ( #5508 )
* add a variation of 'delete' to typesript typings, added in 2.2+
* add typescript typings test for Vue.delete(arr, index)
8 years ago
Alexander Sheboltaev
ebe27295df
typings: type-checking WatchHandler -- refining
8 years ago
katashin
fba78d4598
Update types for new features of v2.1 ( #4305 )
* add types for scoped slots
* update nextTick types for returning promise
* improve scoped slot type
8 years ago
(´・ω・`)
4dccbbc997
Add missing lifecycle definition ( #4251 )
* add missing lifecycle definition
* add activated lifecycle tests
8 years ago
Kaorun343
887ec90d14
fix RenderContext ( #4099 )
8 years ago
katashin
6643cb8c23
Update typings ( #3876 )
* ensure `this` in methods is vue component
* update createElement type and expose it
8 years ago
Kaorun343
ef6945932f
Fix $createElement and Vue.extend ( #3818 )
* Fix $createElement and extend
* Add AsyncComponent
8 years ago
(´・ω・`)
aefb34812e
Update `$refs` type declaration ( #3765 )
* `$refs` is a dictionary of Vue instance or Element
* update $refs for array usage
8 years ago
katashin
019d90040d
add module augmentation test ( #3713 )
8 years ago
katashin
72a1527148
add inserted hook type to directive option ( #3682 )
8 years ago
Kaorun343
2b588b754e
Update ComponentOptions ( #3651 )
* Update ComponentOptions
* Make ComponentOptions as a Generic Interface
* Update some interfaces and types related to ComponentOptions
* Update tests
* Fix
8 years ago
katashin
f541097486
Expose all types via index.d.ts ( #3608 )
* expose all types via index.d.ts
* Fix typo
8 years ago
Kaorun343
d2337dfc3f
remove ".d" from paths ( #3607 )
8 years ago
Kaorun343
8f4aab201b
Fix definitons ( #3591 )
* Fix types
* add “FunctionalComponentOptions” and “ContextObject”
* fix and update types
* Rename
* Update vue.d.ts
* Update options-test.ts
8 years ago
wumingyang
4061c42748
adapt index.d.ts for end users ( #3582 )
* adapt index.d.ts for end users
* fix extend return type
8 years ago
kaorun343
dfc64e8a11
Add TypeScript definitions
Add TypeScript definition
Remove unnecessary definition
Update definitions
* separate files
* remove unnecessary `{[key: string]: any}`
* from singular to plural
Update definitions
* Add more definitions
* Rename filename and interface
* Sort definitions
* Fix indent
Fix
Add test
* add test
* fix some definitions
* fix typo
Fix ComputedOptions
Update Vue.set
Update definitions
Add npm script
8 years ago