mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #11534 from ckittelmann/master
vue: fixed definition for activate() in ComponentOption
This commit is contained in:
@@ -88,6 +88,11 @@ namespace TestGlobalAPI {
|
||||
},
|
||||
init: function() {}
|
||||
});
|
||||
Vue.component("component", {
|
||||
activate: function(callback: Function) {
|
||||
callback();
|
||||
}
|
||||
});
|
||||
var transition = Vue.transition("transition");
|
||||
Vue.transition("transition", transition);
|
||||
Vue.transition("transition", {
|
||||
|
||||
Vendored
+1
-1
@@ -96,7 +96,7 @@ declare namespace vuejs {
|
||||
detached?(): void;
|
||||
beforeDestroy?(): void;
|
||||
destroyed?(): void;
|
||||
activate?(): void;
|
||||
activate?: (done: () => void) => void;
|
||||
directives?: { [key: string]: (DirectiveOption | Function) };
|
||||
elementDirectives?: { [key: string]: (DirectiveOption | Function) };
|
||||
filters?: { [key: string]: (Function | FilterOption) };
|
||||
|
||||
Reference in New Issue
Block a user