Ferdy Budhidharma
57910723c6
feat(types): add Prop to main type declaration file ( #6856 )
close #6850
6 years ago
Timur Kiyui
dfaf9e2436
fix(types): type support for advanced async components ( #8438 )
6 years ago
Julian Rüth
f43ae6d151
chore(typo): fix typo ( #9085 )
6 years ago
st-sloth
ac217d2472
fix(types): fix `renderError`arguments type ( #8636 )
fix #8635
6 years ago
Eduardo San Martin Morote
496635e7c9
types: add model option to functional components ( #8212 )
Closes #8210
6 years ago
Zev Goldstein
bf2e2ed159
types: allow functional components to return multiple VNodes ( #8192 )
close #8191
6 years ago
Kael
99a51b452f
fix(types): make VNodeDirective properties optional, fix #8013 ( #8003 )
6 years ago
katashin
a9eb198413
fix(types): relax the return type of props default option ( #8537 )
6 years ago
Herrington Darkholme
144bf5a99e
fix(types): prefer normal component over functional one ( #7687 )
7 years ago
katashin
6b8516b2dd
fix(types): fix wrong errorCaptured type ( #7712 )
7 years ago
katashin
b2092dbff9
fix(types): make render option in functional components to optional ( #7663 )
7 years ago
katashin
db1b18ceec
fix(types): add missing `listeners` type on RenderContext ( #7584 )
7 years ago
Herrington Darkholme
6ee684983b
fix(types): contravariant generic default in ComponentOption ( #7369 )
7 years ago
Zen
d2e1d49c41
fix(types): use object and string instead of Object and String ( #7126 )
7 years ago
Herrington Darkholme
a71e653108
fix(types): bump ts version and fix typing bugs ( #7135 )
7 years ago
Evan You
96472be6f6
types: add types for new features and adjust tests
7 years ago
Herrington Darkholme
db138e2254
feat(types): further improve Vue type declarations for canonical usage ( #6391 )
7 years ago
katashin
1baa0a7884
fix(types): add `inject` option in functional component options type ( #6530 )
7 years ago
JounQin
0b2929a3d6
types: add EsModuleComponent definition ( #6477 )
7 years ago
Evan You
1f9e924971
feat(types): add declaration for inheritAttrs
7 years ago
wenlu.wang
e4da249ab8
feat: add `comments` option to allow preserving comments in template ( #5951 )
close #5392
8 years ago
Evan You
deae1ff851
fix type tests
8 years ago
kingwl
2701fa1a64
add provide/inject on functional context ( #5204 )
8 years ago
Evan You
3b7b597044
cover Symbol for provide/inject typing
8 years ago
Evan You
01b09e6bcd
type for renderError option
8 years ago
Evan You
73c5614740
update types for new features
8 years ago
Alexander Sheboltaev
c662fe09c7
typings: type-checking WatchHandler
Makes watch handler argument to be typechecked when the expression is set
as a function.
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
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
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
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