ant-design-vue/components/statistic/index.ts
2020-11-01 15:03:33 +08:00

17 lines
444 B
TypeScript

import { App, Plugin } from 'vue';
import Statistic from './Statistic';
import Countdown from './Countdown';
Statistic.Countdown = Countdown;
/* istanbul ignore next */
Statistic.install = function(app: App) {
app.component(Statistic.name, Statistic);
app.component(Statistic.Countdown.name, Statistic.Countdown);
return app;
};
export default Statistic as typeof Statistic &
Plugin & {
readonly Countdown: typeof Countdown;
};