ant-design-vue/components/statistic/index.ts

17 lines
444 B
TypeScript
Raw Normal View History

2020-11-01 07:03:33 +00:00
import { App, Plugin } from 'vue';
2019-05-25 09:18:04 +00:00
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);
2020-10-13 11:14:56 +00:00
return app;
2019-05-25 09:18:04 +00:00
};
2020-11-01 07:03:33 +00:00
export default Statistic as typeof Statistic &
Plugin & {
readonly Countdown: typeof Countdown;
};