Skip to content

Commit 997045f

Browse files
committed
feat(vue-jsx-vapor): add class and style for IntrinsicAttributes
1 parent 9450db0 commit 997045f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/vue-jsx-vapor/src/jsx-runtime.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@ declare global {
2323
$props: {}
2424
}
2525
export interface IntrinsicElements extends NativeElements {
26+
// allow arbitrary elements
27+
// @ts-ignore suppress ts:2374 = Duplicate string index signature.
2628
[name: string]: any
2729
}
28-
export interface IntrinsicAttributes extends ReservedProps {}
30+
export interface IntrinsicAttributes extends ReservedProps {
31+
class?: unknown
32+
style?: unknown
33+
}
2934
}
3035
}

0 commit comments

Comments
 (0)