fix(components): [progress] fix type error (#9894)

This commit is contained in:
류한경 2022-09-25 16:42:49 +09:00 committed by GitHub
parent 0088da111d
commit f9edc9d265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,6 @@
</template>
<script lang="ts" setup>
// @ts-nocheck
import { computed } from 'vue'
import { ElIcon } from '@element-plus/components/icon'
import {
@ -97,7 +96,7 @@ defineOptions({
name: 'ElProgress',
})
const STATUS_COLOR_MAP = {
const STATUS_COLOR_MAP: Record<string, string> = {
success: '#13ce66',
exception: '#ff4949',
warning: '#e6a23c',