Skip to content

Commit 7ad91d6

Browse files
committed
Fix more type import build warnings
1 parent 87130ad commit 7ad91d6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

projects/js-packages/charts/src/components/legend/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { LegendOrdinal } from '@visx/legend';
2-
import { GlyphProps, LineStyles } from '@visx/xychart';
2+
import type { GlyphProps, LineStyles } from '@visx/xychart';
33
import type { ComponentProps, CSSProperties, ReactNode } from 'react';
44

55
// See https://airbnb.io/visx/docs/legend#Ordinal for more details.

projects/js-packages/charts/src/components/line-chart/types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { CircleSubjectProps } from '@visx/annotation/lib/components/CircleSubject';
2-
import { ConnectorProps } from '@visx/annotation/lib/components/Connector';
3-
import { LabelProps } from '@visx/annotation/lib/components/Label';
4-
import { LineSubjectProps } from '@visx/annotation/lib/components/LineSubject';
1+
import type { CircleSubjectProps } from '@visx/annotation/lib/components/CircleSubject';
2+
import type { ConnectorProps } from '@visx/annotation/lib/components/Connector';
3+
import type { LabelProps } from '@visx/annotation/lib/components/Label';
4+
import type { LineSubjectProps } from '@visx/annotation/lib/components/LineSubject';
55

66
export type AnnotationStyles = {
77
circleSubject?: Omit< CircleSubjectProps, 'x' | 'y' > & { fill?: string };

0 commit comments

Comments
 (0)