chore: Replace deprecated 'node' module resolution with 'bundler' and tighten compiler options (#2594)
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import {
|
||||
differenceInSeconds,
|
||||
format,
|
||||
} from 'date-fns';
|
||||
import type { StyleInfo } from 'lit/directives/style-map';
|
||||
import type { StyleInfo } from 'lit/directives/style-map.js';
|
||||
import { isEqualWith, mergeWith, round, uniq } from 'lodash-es';
|
||||
|
||||
import { AdvancedCameraCardError } from '../types';
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import EmblaCarousel, { type EmblaCarouselType } from 'embla-carousel';
|
||||
import EmblaCarousel, {
|
||||
type EmblaCarouselType,
|
||||
type EmblaPluginType,
|
||||
} from 'embla-carousel';
|
||||
import { WheelGesturesPlugin } from 'embla-carousel-wheel-gestures';
|
||||
import type {
|
||||
CreatePluginType,
|
||||
LoosePluginType,
|
||||
} from 'embla-carousel/components/Plugins';
|
||||
import { isEqual } from 'lodash-es';
|
||||
|
||||
import type { TransitionEffect } from '../../config/schema/common/transition-effect.js';
|
||||
@@ -16,7 +15,7 @@ export interface CarouselSelected {
|
||||
element: HTMLElement;
|
||||
}
|
||||
|
||||
type EmblaCarouselPlugins = CreatePluginType<LoosePluginType, Record<string, unknown>>[];
|
||||
export type EmblaCarouselPlugins = EmblaPluginType[];
|
||||
|
||||
export type CarouselDirection = 'vertical' | 'horizontal';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user