refactor(type): remove eslint-disable @typescript-eslint/consistent-type-assertions (#5214)

Signed-off-by: Sepush <sepush@outlook.com>
This commit is contained in:
Artea 2023-12-18 19:06:38 +08:00 committed by GitHub
parent 19ea2732ba
commit 5a8229b5f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,12 +221,11 @@ export default defineComponent({
const {
self: { actionDividerColor, actionPadding, actionButtonMargin }
} = themeRef.value
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
return {
'--n-action-padding': actionPadding,
'--n-action-button-margin': actionButtonMargin,
'--n-action-divider-color': actionDividerColor
} as CSSProperties
} satisfies CSSProperties
}),
onLoadRef: toRef(props, 'onLoad'),
mergedTableLayoutRef,