Evan You
fb93c1be77
feat(types): define component improvements ( #12612 )
2022-07-04 22:12:21 -04:00
Evan You
7173ad4272
feat: types for <script setup>
macros
2022-06-16 10:19:01 +08:00
Evan You
c678e3134b
types: include jsx typing
2022-06-09 14:45:11 +08:00
Evan You
ffaf81ba5f
chore: fix type tests
2022-06-01 22:12:02 +08:00
Evan You
206f8a7f09
wip: defineComponent
2022-06-01 21:55:33 +08:00
Evan You
2acb5474bc
types: generate types for v3 apis
2022-05-30 21:36:07 +08:00
Evan You
93214586aa
types: types for setup() + format types
2022-05-27 17:26:55 +08:00
katashin
ab50e8e1da
fix(types): fix global namespace declaration for UMD bundle ( #9912 )
2019-04-25 11:18:07 +08:00
Ferdy Budhidharma
57910723c6
feat(types): add Prop to main type declaration file ( #6856 )
...
close #6850
2018-12-12 12:24:41 -05:00
Ryan Cavanaugh
49385e1efa
types: add UMD global declaration to index.d.ts ( #7868 )
...
Users using Vue from e.g. the CDN might be using the global `.Vue` without importing the module.
See https://www.typescriptlang.org/docs/handbook/modules.html for details on the syntax
2018-03-22 09:58:04 -04:00
katashin
267ada04e8
fix(types): expose VueConstructor ( #7002 )
2017-11-06 16:34:22 -05:00
Herrington Darkholme
db138e2254
feat(types): further improve Vue type declarations for canonical usage ( #6391 )
2017-10-06 14:45:14 -04:00
Alexander Sheboltaev
c662fe09c7
typings: type-checking WatchHandler
...
Makes watch handler argument to be typechecked when the expression is set
as a function.
2017-02-14 13:24:21 -05:00
katashin
6643cb8c23
Update typings ( #3876 )
...
* ensure `this` in methods is vue component
* update createElement type and expose it
2016-10-08 14:15:36 -04:00
Kaorun343
ef6945932f
Fix $createElement and Vue.extend ( #3818 )
...
* Fix $createElement and extend
* Add AsyncComponent
2016-09-30 13:57:38 -04:00
Kaorun343
2b588b754e
Update ComponentOptions ( #3651 )
...
* Update ComponentOptions
* Make ComponentOptions as a Generic Interface
* Update some interfaces and types related to ComponentOptions
* Update tests
* Fix
2016-09-14 01:59:14 +02:00
katashin
f541097486
Expose all types via index.d.ts ( #3608 )
...
* expose all types via index.d.ts
* Fix typo
2016-09-08 10:26:01 +02:00
Kaorun343
d2337dfc3f
remove ".d" from paths ( #3607 )
2016-09-06 21:28:17 +08:00
wumingyang
4061c42748
adapt index.d.ts for end users ( #3582 )
...
* adapt index.d.ts for end users
* fix extend return type
2016-09-04 17:33:25 +08:00
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
2016-08-31 12:21:26 -04:00