Browse Source

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
dev
Ryan Cavanaugh 7 years ago
committed by Evan You
parent
commit
49385e1efa
  1. 2
      types/index.d.ts

2
types/index.d.ts

@ -2,6 +2,8 @@ import { Vue } from "./vue";
export default Vue; export default Vue;
export as namespace Vue;
export { export {
CreateElement, CreateElement,
VueConstructor VueConstructor

Loading…
Cancel
Save