]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
types(runtime-dom): export type `StyleValue` (#3718)
authorAmour1688 <lcz_1996@foxmail.com>
Mon, 16 Aug 2021 20:52:34 +0000 (04:52 +0800)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 20:52:34 +0000 (16:52 -0400)
packages/runtime-dom/types/jsx.d.ts

index c3d00960d2414b54c2119b1dd9437b7df3316344..ec45671b142c8e76a9886289b92da5834ec69d48 100644 (file)
@@ -232,7 +232,7 @@ interface AriaAttributes {
 }
 
 // Vue's style normalization supports nested arrays
-type StyleValue = string | CSSProperties | Array<StyleValue>
+export type StyleValue = string | CSSProperties | Array<StyleValue>
 
 export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
   innerHTML?: string