From b907e295d709f37d39313b8839fb4b84ce181896 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Fri, 15 Jan 2021 00:35:19 +0800 Subject: [PATCH] refactor(alert): ts --- src/alert/{index.js => index.ts} | 0 src/alert/src/Alert.vue | 24 ++-- .../styles/{index.cssr.js => index.cssr.ts} | 120 +++++++++++------- src/alert/styles/{dark.js => dark.ts} | 4 +- src/alert/styles/index.js | 2 - src/alert/styles/index.ts | 3 + src/alert/styles/{light.js => light.ts} | 8 +- 7 files changed, 99 insertions(+), 62 deletions(-) rename src/alert/{index.js => index.ts} (100%) rename src/alert/src/styles/{index.cssr.js => index.cssr.ts} (50%) rename src/alert/styles/{dark.js => dark.ts} (94%) delete mode 100644 src/alert/styles/index.js create mode 100644 src/alert/styles/index.ts rename src/alert/styles/{light.js => light.ts} (93%) diff --git a/src/alert/index.js b/src/alert/index.ts similarity index 100% rename from src/alert/index.js rename to src/alert/index.ts diff --git a/src/alert/src/Alert.vue b/src/alert/src/Alert.vue index 0be7d7c7a..34e173684 100644 --- a/src/alert/src/Alert.vue +++ b/src/alert/src/Alert.vue @@ -37,8 +37,8 @@ -