Skip to content

Commit 62fb6e4

Browse files
committed
fix ts imports
1 parent 82f69ae commit 62fb6e4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+59
-54
lines changed

src/lib/constants.ts

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

33
export const SCALE_TYPES: Record<ScaleName, symbol> = {
44
opacity: Symbol('opacity'),

src/lib/helpers/autoScales.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import type {
3232
ScaleName,
3333
ScaleOptions,
3434
ScaleType
35-
} from '../types.js';
35+
} from '../types/index.js';
3636
import {
3737
categoricalSchemes,
3838
isCategoricalScheme,

src/lib/helpers/autoTicks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RawValue, ScaleType } from '$lib/types.js';
1+
import type { RawValue, ScaleType } from '$lib/types/index.js';
22
import { maybeTimeInterval } from './time.js';
33
import { extent, range as rangei } from 'd3-array';
44

src/lib/helpers/callWithProps.ts

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

33
type Setter = (v: any) => void;
44

src/lib/helpers/colors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ import {
7777
} from 'd3-scale-chromatic';
7878

7979
import { quantize } from 'd3-interpolate';
80-
import type { ColorScheme } from '$lib/types.js';
80+
import type { ColorScheme } from '$lib/types/index.js';
8181

8282
const schemeObservable10 = [
8383
'#4269d0',

src/lib/helpers/curves.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Curve } from '../types.js';
1+
import type { Curve } from '../types/index.js';
22
import {
33
curveBasis,
44
curveBasisClosed,

src/lib/helpers/facets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { GenericMarkOptions, Mark, RawValue } from '$lib/types.js';
1+
import type { GenericMarkOptions, Mark, RawValue } from '$lib/types/index.js';
22
import { resolveChannel } from './resolve.js';
33

44
/**

src/lib/helpers/getBaseStyles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Channels } from '$lib/types.js';
2-
import type { MarkStyleProps, DataRow } from '$lib/types.js';
1+
import type { Channels } from '$lib/types/index.js';
2+
import type { MarkStyleProps, DataRow } from '$lib/types/index.js';
33
import { resolveProp } from './resolve.js';
44

55
/**

src/lib/helpers/group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { resolveChannel } from '$lib/helpers/resolve.js';
2-
import type { ChannelName, Channels, DataRecord } from '$lib/types.js';
2+
import type { ChannelName, Channels, DataRecord } from '$lib/types/index.js';
33
import { groups as d3Groups } from 'd3-array';
44

55
/**

src/lib/helpers/index.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 '$lib/types.js';
1+
import type { ChannelAccessor, ChannelName, DataRecord, RawValue } from '$lib/types/index.js';
22
import type { Snippet } from 'svelte';
33
import { resolveProp } from './resolve.js';
44
import { isDate } from '$lib/helpers/typeChecks.js';

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