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
7 years ago
katashin
267ada04e8
fix(types): expose VueConstructor ( #7002 )
7 years ago
Herrington Darkholme
db138e2254
feat(types): further improve Vue type declarations for canonical usage ( #6391 )
7 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
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
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
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