sveaflet
Version:
Sveaflet = Svelte + Leaflet
16 lines • 670 B
TypeScript
import type { PathOptions } from 'leaflet';
import type { MapInstance } from '../types';
export declare class Compare {
instance: MapInstance;
prevProps: Record<string, unknown>;
styleKeys: Array<keyof PathOptions>;
constructor(instance: MapInstance, props: SvelteAllProps);
firstLetterUpper(str: string): string;
toRawValue(value: any): any;
toRawProps(value: SvelteAllProps): any;
storeProps(props: SvelteAllProps): void;
updateProps(curProps: SvelteAllProps): void;
shouldUpdate(prevVal: unknown, curVal: unknown): boolean;
executeUpdate(funcName: string, value: unknown): void;
}
//# sourceMappingURL=update-props.d.ts.map