Skip to content

Commit 825660f

Browse files
committed
fix more imports
1 parent 2e05510 commit 825660f

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

src/lib/types/channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ConstantAccessor, RawValue } from '.';
1+
import type { ConstantAccessor, RawValue } from './index.js';
22

33
export type Channels = Record<
44
string,

src/lib/types/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ScaledChannelName } from './channel';
1+
import type { ScaledChannelName } from './channel.js';
22

33
export type RawValue = number | Date | boolean | string | symbol;
44

src/lib/types/facet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ChannelAccessor, ChannelName, DataRecord, RawValue } from '.';
1+
import type { ChannelAccessor, ChannelName, DataRecord, RawValue } from './index.js';
22

33
type FacetState = {
44
fx: RawValue;

src/lib/types/index.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import type { ScaleBand, ScaleLinear, ScaleOrdinal } from 'd3-scale';
21
import type { Snippet } from 'svelte';
3-
import type { MarkerShape } from '../marks/helpers/Marker.svelte';
42
import type { Writable } from 'svelte/store';
5-
import type { Channels, ScaledChannelName } from './channel';
6-
import type { DataRecord, DataRow, RawValue } from './data';
7-
import type { BaseMarkProps } from './mark';
3+
import type { MarkerShape } from '../marks/helpers/Marker.svelte';
4+
import type { Channels, ScaledChannelName } from './channel.js';
5+
import type { DataRecord, DataRow, RawValue } from './data.js';
6+
import type { BaseMarkProps } from './mark.js';
87

98
export type GenericMarkOptions = Record<string | symbol, any>;
109

src/lib/types/plot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ComponentProps } from 'svelte';
2-
import type { ColorScheme } from './colorScheme';
2+
import type { ColorScheme } from './colorScheme.js';
33
import type { GeoProjection } from 'd3-geo';
44
import type {
55
ChannelAccessor,

src/lib/types/scale.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ScaleBand, ScaleLinear, ScaleOrdinal } from 'd3-scale';
2-
import type { ChannelAccessor, RawValue, ScaledChannelName } from '.';
2+
import type { ChannelAccessor, RawValue, ScaledChannelName } from './index.js';
33

44
export type AxisXAnchor = 'bottom' | 'top' | 'both';
55
export type AxisYAnchor = 'left' | 'right' | 'both';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy