layerchart 0.26.1 → 0.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script context="module">import { getContext, setContext } from 'svelte';
|
|
2
2
|
import { writable } from 'svelte/store';
|
|
3
|
-
import { geoMercator } from 'd3-geo';
|
|
4
|
-
export const geoContextKey =
|
|
3
|
+
import { geoMercator, } from 'd3-geo';
|
|
4
|
+
export const geoContextKey = Symbol();
|
|
5
5
|
export function geoContext() {
|
|
6
6
|
return getContext(geoContextKey);
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
import { type Writable } from 'svelte/store';
|
|
3
3
|
import { type GeoIdentityTransform, type GeoPermissibleObjects, type GeoProjection } from 'd3-geo';
|
|
4
|
-
export declare const geoContextKey:
|
|
4
|
+
export declare const geoContextKey: unique symbol;
|
|
5
5
|
export type GeoContext = Writable<GeoProjection | GeoIdentityTransform>;
|
|
6
6
|
export declare function geoContext(): GeoContext;
|
|
7
7
|
declare const __propDef: {
|