Skip to content

Commit 92fb204

Browse files
committed
chore: Fixes output for chart-components core chart API
1 parent d65ba86 commit 92fb204

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/object-definition.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ export function getObjectDefinition(
2727
realType.flags & ts.TypeFlags.Number ||
2828
isArrayType(realType) ||
2929
realTypeName === 'HTMLElement' ||
30+
realTypeName.startsWith('SVG') ||
31+
realTypeName.includes('Highcharts') ||
3032
type === 'React.ReactNode'
3133
) {
3234
// do not expand built-in Javascript methods or primitive values

0 commit comments

Comments
 (0)