Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

Do you have deployment build for react


Do you have deployment build script for react project like vite or webpack to generate dist files for production deployment?

I tried the npm run build but I get the following errors:

$ npm run build

> metronic-react-tailwind@0.0.0 build
> tsc -b && vite build

src/theme/core/helpers/utils.ts(42,4): error TS2322: Type 'null' is not assignable to type 'KTOptionType'.
src/theme/core/helpers/utils.ts(63,50): error TS6133: 'match' is declared but its value is never read.
src/theme/core/helpers/utils.ts(78,38): error TS6133: 'match' is declared but its value is never read.
src/theme/core/helpers/dom.ts(15,24): error TS2345: Argument of type 'string | HTMLElement' is not assignable to parameter of type 'HTMLElement'.
Type 'string' is not assignable to type 'HTMLElement'.
src/theme/core/helpers/dom.ts(20,7): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/helpers/dom.ts(23,5): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/helpers/dom.ts(152,7): error TS2322: Type 'null' is not assignable to type 'HTMLElement[]'.
src/theme/core/helpers/dom.ts(171,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/helpers/dom.ts(272,41): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/helpers/dom.ts(348,62): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/helpers/event-handler.ts(13,7): error TS2322: Type 'null' is not assignable to type 'string'.
src/theme/core/helpers/event-handler.ts(18,5): error TS2322: Type '(event: Event & { target: HTMLElement; }) => void' is not assignable to type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event & { target: HTMLElement; }'.
Type 'undefined' is not assignable to type 'Event & { target: HTMLElement; }'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/component.ts(18,13): error TS2564: Property '_name' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/component.ts(19,13): error TS2564: Property '_defaultConfig' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/component.ts(20,13): error TS2564: Property '_config' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/component.ts(21,13): error TS2564: Property '_events' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/component.ts(26,32): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'string | HTMLElement'.
Type 'null' is not assignable to type 'string | HTMLElement'.
src/theme/core/components/component.ts(39,43): error TS2322: Type 'null' is not assignable to type 'object'.
src/theme/core/components/component.ts(45,47): error TS2322: Type 'null' is not assignable to type 'object'.
src/theme/core/components/component.ts(92,41): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
Type 'null' is not assignable to type 'string'.
src/theme/core/components/component.ts(130,5): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/component.ts(144,25): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(32,12): error TS2564: Property '_toggleElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/dropdown/dropdown.ts(33,12): error TS2564: Property '_contentElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/dropdown/dropdown.ts(45,3): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(45,25): error TS2531: Object is possibly 'null'.
src/theme/core/components/dropdown/dropdown.ts(47,3): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(47,26): error TS2531: Object is possibly 'null'.
src/theme/core/components/dropdown/dropdown.ts(77,18): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(78,28): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(79,18): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(80,18): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(96,19): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(101,14): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(102,14): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(127,15): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement | undefined'.
Type 'null' is not assignable to type 'HTMLElement | undefined'.
src/theme/core/components/dropdown/dropdown.ts(130,55): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(147,3): error TS2531: Object is possibly 'null'.
src/theme/core/components/dropdown/dropdown.ts(177,3): error TS2531: Object is possibly 'null'.
src/theme/core/components/dropdown/dropdown.ts(213,15): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(218,18): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(219,16): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(220,18): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(225,10): error TS2531: Object is possibly 'null'.
src/theme/core/components/dropdown/dropdown.ts(338,3): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/dropdown/dropdown.ts(344,17): error TS2322: Type 'null' is not assignable to type 'KTDropdown'.
src/theme/core/components/dropdown/dropdown.ts(350,3): error TS2322: Type 'null' is not assignable to type 'KTDropdown'.
src/theme/core/components/dropdown/dropdown.ts(405,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/dropdown/dropdown.ts(405,5): error TS6133: 'event' is declared but its value is never read.
src/theme/core/components/dropdown/dropdown.ts(420,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/dropdown/dropdown.ts(420,5): error TS6133: 'event' is declared but its value is never read.
src/theme/core/components/dropdown/dropdown.ts(435,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/dropdown/dropdown.ts(449,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/dropdown/dropdown.ts(449,5): error TS6133: 'event' is declared but its value is never read.
src/theme/core/components/menu/menu.ts(339,3): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(343,9): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(352,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(357,3): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(389,4): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(394,5): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(397,4): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(712,23): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(715,3): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(740,15): error TS2322: Type 'null' is not assignable to type 'KTOptionType'.
src/theme/core/components/menu/menu.ts(745,3): error TS2322: Type 'KTOptionType | null' is not assignable to type 'KTOptionType'.
Type 'null' is not assignable to type 'KTOptionType'.
src/theme/core/components/menu/menu.ts(842,24): error TS2345: Argument of type 'HTMLElement | undefined' is not assignable to parameter of type 'HTMLElement'.
Type 'undefined' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(848,4): error TS2322: Type 'null' is not assignable to type 'KTMenu'.
src/theme/core/components/menu/menu.ts(876,3): error TS2322: Type 'null' is not assignable to type 'KTMenu'.
src/theme/core/components/menu/menu.ts(977,21): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(980,69): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(1018,3): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/menu/menu.ts(1103,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/menu/menu.ts(1103,5): error TS6133: 'event' is declared but its value is never read.
src/theme/core/components/menu/menu.ts(1118,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/menu/menu.ts(1118,5): error TS6133: 'event' is declared but its value is never read.
src/theme/core/components/menu/menu.ts(1133,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/menu/menu.ts(1146,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/menu/menu.ts(1161,4): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/menu/menu.ts(1161,5): error TS6133: 'event' is declared but its value is never read.
src/theme/core/components/modal/modal.ts(48,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/modal/modal.ts(169,35): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/modal/modal.ts(170,42): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/modal/modal.ts(173,32): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/modal/modal.ts(174,38): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/modal/modal.ts(177,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/modal/modal.ts(250,70): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/modal/modal.ts(265,71): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/drawer/drawer.ts(167,24): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/drawer/drawer.ts(169,27): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/drawer/drawer.ts(282,71): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/drawer/drawer.ts(297,72): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/collapse/collapse.ts(18,13): error TS2564: Property '_targetElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/collapse/collapse.ts(28,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/collapse/collapse.ts(38,24): error TS2531: Object is possibly 'null'.
src/theme/core/components/collapse/collapse.ts(48,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/dismiss/dismiss.ts(44,24): error TS2531: Object is possibly 'null'.
src/theme/core/components/tabs/tabs.ts(42,80): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
Type 'null' is not assignable to type 'string | HTMLElement'.
src/theme/core/components/tabs/tabs.ts(42,157): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
src/theme/core/components/tabs/tabs.ts(50,68): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/theme/core/components/tabs/tabs.ts(69,36): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/tabs/tabs.ts(73,52): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
src/theme/core/components/tabs/tabs.ts(73,116): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
src/theme/core/components/tabs/tabs.ts(84,7): error TS2531: Object is possibly 'null'.
src/theme/core/components/tabs/tabs.ts(95,7): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/tabs/tabs.ts(97,7): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/accordion/accordion.ts(15,13): error TS2564: Property '_accordionElements' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/accordion/accordion.ts(28,23): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/accordion/accordion.ts(57,45): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
src/theme/core/components/accordion/accordion.ts(95,45): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
src/theme/core/components/scrollspy/scrollspy.ts(45,13): error TS2531: Object is possibly 'null'.
src/theme/core/components/scrollspy/scrollspy.ts(51,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/scrollspy/scrollspy.ts(52,7): error TS2531: Object is possibly 'null'.
src/theme/core/components/scrollspy/scrollspy.ts(57,23): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/scrollspy/scrollspy.ts(66,45): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
src/theme/core/components/scrollspy/scrollspy.ts(89,45): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
src/theme/core/components/scrollto/scrollto.ts(18,13): error TS2564: Property '_targetElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/scrollto/scrollto.ts(30,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/scrollto/scrollto.ts(41,24): error TS2531: Object is possibly 'null'.
src/theme/core/components/sticky/sticky.ts(26,13): error TS2564: Property '_attributeRoot' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/sticky/sticky.ts(27,13): error TS2564: Property '_eventTriggerState' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/sticky/sticky.ts(28,13): error TS2564: Property '_lastScrollTop' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/sticky/sticky.ts(29,13): error TS2564: Property '_releaseElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/sticky/sticky.ts(30,13): error TS2564: Property '_wrapperElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/sticky/sticky.ts(38,23): error TS2345: Argument of type 'KTStickyConfigInterface | null' is not assignable to parameter of type 'object | undefined'.
Type 'null' is not assignable to type 'object | undefined'.
src/theme/core/components/sticky/sticky.ts(41,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/sticky/sticky.ts(41,28): error TS2531: Object is possibly 'null'.
src/theme/core/components/sticky/sticky.ts(293,12): error TS2531: Object is possibly 'null'.
src/theme/core/components/reparent/reparent.ts(31,23): error TS2345: Argument of type 'KTReparentConfigInterface | null' is not assignable to parameter of type 'object | undefined'.
Type 'null' is not assignable to type 'object | undefined'.
src/theme/core/components/toggle/toggle.ts(19,13): error TS2564: Property '_targetElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/toggle/toggle.ts(27,23): error TS2345: Argument of type 'KTToggleConfigInterface | null' is not assignable to parameter of type 'object | undefined'.
Type 'null' is not assignable to type 'object | undefined'.
src/theme/core/components/toggle/toggle.ts(29,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/toggle/toggle.ts(47,24): error TS2531: Object is possibly 'null'.
src/theme/core/components/tooltip/tooltip.ts(36,13): error TS2564: Property '_targetElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/tooltip/tooltip.ts(47,23): error TS2345: Argument of type 'KTTooltipConfigInterface | null' is not assignable to parameter of type 'object | undefined'.
Type 'null' is not assignable to type 'object | undefined'.
src/theme/core/components/tooltip/tooltip.ts(49,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/tooltip/tooltip.ts(59,24): error TS2531: Object is possibly 'null'.
src/theme/core/components/tooltip/tooltip.ts(60,7): error TS2531: Object is possibly 'null'.
src/theme/core/components/tooltip/tooltip.ts(216,35): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/tooltip/tooltip.ts(217,42): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/tooltip/tooltip.ts(220,32): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/tooltip/tooltip.ts(221,38): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/stepper/stepper.ts(26,23): error TS2345: Argument of type 'KTStepperConfigInterface | null' is not assignable to parameter of type 'object | undefined'.
Type 'null' is not assignable to type 'object | undefined'.
src/theme/core/components/stepper/stepper.ts(80,47): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | HTMLElement'.
src/theme/core/components/stepper/stepper.ts(107,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(14,13): error TS2564: Property '_inputElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/image-input/image-input.ts(15,13): error TS2564: Property '_hiddenElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/image-input/image-input.ts(16,13): error TS2564: Property '_removeElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/image-input/image-input.ts(17,13): error TS2564: Property '_previewElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/image-input/image-input.ts(19,13): error TS2564: Property '_lastMode' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/image-input/image-input.ts(21,37): error TS2322: Type 'null' is not assignable to type 'KTImageInputConfigInterface'.
src/theme/core/components/image-input/image-input.ts(29,5): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLInputElement'.
Type 'null' is not assignable to type 'HTMLInputElement'.
src/theme/core/components/image-input/image-input.ts(29,26): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(30,5): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLInputElement'.
Type 'null' is not assignable to type 'HTMLInputElement'.
src/theme/core/components/image-input/image-input.ts(30,27): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(31,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/image-input/image-input.ts(31,27): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(32,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/image-input/image-input.ts(32,28): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(39,23): error TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/image-input/image-input.ts(68,26): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(73,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(75,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(89,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(90,5): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(99,9): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(110,7): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(122,9): error TS2531: Object is possibly 'null'.
src/theme/core/components/image-input/image-input.ts(142,7): error TS2531: Object is possibly 'null'.
src/theme/core/components/toggle-password/toggle-password.ts(5,1): error TS6133: 'KTDom' is declared but its value is never read.
src/theme/core/components/toggle-password/toggle-password.ts(15,13): error TS2564: Property '_triggerElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/toggle-password/toggle-password.ts(16,13): error TS2564: Property '_inputElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/toggle-password/toggle-password.ts(24,23): error TS2345: Argument of type 'KTTogglePasswordConfigInterface | null' is not assignable to parameter of type 'object | undefined'.
Type 'null' is not assignable to type 'object | undefined'.
src/theme/core/components/toggle-password/toggle-password.ts(26,5): error TS2322: Type 'HTMLElement | null' is not assignable to type 'HTMLElement'.
Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/toggle-password/toggle-password.ts(26,28): error TS2531: Object is possibly 'null'.
src/theme/core/components/toggle-password/toggle-password.ts(27,5): error TS2322: Type 'HTMLInputElement | null' is not assignable to type 'HTMLInputElement'.
Type 'null' is not assignable to type 'HTMLInputElement'.
src/theme/core/components/toggle-password/toggle-password.ts(27,26): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(20,21): error TS2564: Property '_config' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(20,21): error TS2612: Property '_config' will overwrite the base property in 'KTComponent'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
src/theme/core/components/datatable/datatable.ts(21,21): error TS2564: Property '_defaultConfig' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(21,21): error TS2612: Property '_defaultConfig' will overwrite the base property in 'KTComponent'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
src/theme/core/components/datatable/datatable.ts(23,10): error TS2564: Property '_tableElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(24,10): error TS2564: Property '_tbodyElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(25,10): error TS2564: Property '_theadElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(27,10): error TS2564: Property '_infoElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(28,10): error TS2564: Property '_sizeElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(29,10): error TS2564: Property '_paginationElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(32,10): error TS2564: Property '_headerChecked' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(33,10): error TS2564: Property '_headerCheckElement' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(34,10): error TS2564: Property '_targetElements' has no initializer and is not definitely assigned in the constructor.
src/theme/core/components/datatable/datatable.ts(58,12): error TS2565: Property '_config' is used before being assigned.
src/theme/core/components/datatable/datatable.ts(62,12): error TS2565: Property '_config' is used before being assigned.
src/theme/core/components/datatable/datatable.ts(223,39): error TS2345: Argument of type '(value: string | number | boolean) => boolean' is not assignable to parameter of type '(value: string | number | boolean | object, index: number, array: (string | number | boolean | object)[]) => unknown'.
Types of parameters 'value' and 'value' are incompatible.
Type 'string | number | boolean | object' is not assignable to type 'string | number | boolean'.
Type 'object' is not assignable to type 'string | number | boolean'.
src/theme/core/components/datatable/datatable.ts(312,3): error TS2740: Type '{}' is missing the following properties from type 'HTMLTableElement': align, bgColor, border, caption, and 318 more.
src/theme/core/components/datatable/datatable.ts(312,24): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(312,70): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(312,70): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(324,3): error TS2740: Type '{}' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, dir, and 295 more.
src/theme/core/components/datatable/datatable.ts(324,23): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(324,64): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(324,64): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(328,3): error TS2740: Type '{}' is missing the following properties from type 'HTMLSelectElement': autocomplete, disabled, form, labels, and 320 more.
src/theme/core/components/datatable/datatable.ts(328,23): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(328,70): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(328,70): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(332,3): error TS2322: Type '{}' is not assignable to type 'HTMLElement'.
src/theme/core/components/datatable/datatable.ts(332,29): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(332,70): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(332,70): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(353,3): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(355,30): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(355,76): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(355,76): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(357,22): error TS2345: Argument of type '{}' is not assignable to parameter of type 'HTMLInputElement'.
Type '{}' is missing the following properties from type 'HTMLInputElement': accept, align, alt, autocomplete, and 354 more.
src/theme/core/components/datatable/datatable.ts(390,7): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(390,7): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
Type 'undefined' is not assignable to type 'number'.
src/theme/core/components/datatable/datatable.ts(409,26): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(409,57): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(409,57): error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(429,4): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(430,4): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(440,25): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(440,25): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(440,25): error TS2684: The 'this' context of type '((data: KTDataTableDataInterface[], search: string) => KTDataTableDataInterface[]) | undefined' is not assignable to method's 'this' of type '(this: this, data: KTDataTableDataInterface[], search: string) => KTDataTableDataInterface[]'.
Type 'undefined' is not assignable to type '(this: this, data: KTDataTableDataInterface[], search: string) => KTDataTableDataInterface[]'.
src/theme/core/components/datatable/datatable.ts(445,15): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(446,18): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(460,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(476,4): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(486,7): error TS18048: '_state' is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(487,4): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(573,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(635,47): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string | URL'.
Type 'undefined' is not assignable to type 'string | URL'.
src/theme/core/components/datatable/datatable.ts(640,16): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'URL | RequestInfo'.
Type 'undefined' is not assignable to type 'URL | RequestInfo'.
src/theme/core/components/datatable/datatable.ts(655,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(717,34): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(717,34): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(752,56): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(752,56): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(752,88): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(752,88): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(760,45): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(760,45): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(763,32): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(763,32): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(900,19): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(931,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(932,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(946,4): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/datatable/datatable.ts(964,30): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(989,11): error TS2339: Property 'previous' does not exist on type '{ number: { class: string; text: string; }; previous: { class: string; text: string; }; next: { class: string; text: string; }; more: { class: string; text: string; }; } | undefined'.
src/theme/core/components/datatable/datatable.ts(989,21): error TS2339: Property 'next' does not exist on type '{ number: { class: string; text: string; }; previous: { class: string; text: string; }; next: { class: string; text: string; }; more: { class: string; text: string; }; } | undefined'.
src/theme/core/components/datatable/datatable.ts(989,27): error TS2339: Property 'number' does not exist on type '{ number: { class: string; text: string; }; previous: { class: string; text: string; }; next: { class: string; text: string; }; more: { class: string; text: string; }; } | undefined'.
src/theme/core/components/datatable/datatable.ts(989,35): error TS2339: Property 'more' does not exist on type '{ number: { class: string; text: string; }; previous: { class: string; text: string; }; next: { class: string; text: string; }; more: { class: string; text: string; }; } | undefined'.
src/theme/core/components/datatable/datatable.ts(1011,68): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
Type 'undefined' is not assignable to type 'number'.
src/theme/core/components/datatable/datatable.ts(1076,4): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1083,19): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(1083,60): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1083,60): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(1085,12): error TS2339: Property 'style' does not exist on type '{}'.
src/theme/core/components/datatable/datatable.ts(1087,3): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(1092,19): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(1092,60): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1092,60): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(1094,12): error TS2339: Property 'style' does not exist on type '{}'.
src/theme/core/components/datatable/datatable.ts(1096,3): error TS2531: Object is possibly 'null'.
src/theme/core/components/datatable/datatable.ts(1102,4): error TS2322: Type 'null' is not assignable to type 'HTMLElement'.
src/theme/core/components/datatable/datatable.ts(1174,7): error TS2322: Type 'null' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(1197,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1198,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1235,4): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1235,4): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/theme/core/components/datatable/datatable.ts(1286,28): error TS6133: 'event' is declared but its value is never read.
src/theme/core/components/datatable/datatable.ts(1302,28): error TS6133: 'event' is declared but its value is never read.
src/theme/core/components/datatable/datatable.ts(1318,23): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1321,26): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1410,4): error TS2322: Type 'null' is not assignable to type 'string | number'.
src/theme/core/components/datatable/datatable.ts(1418,4): error TS2322: Type 'number | undefined' is not assignable to type 'number'.
Type 'undefined' is not assignable to type 'number'.
src/theme/core/components/datatable/datatable.ts(1514,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/datatable/datatable.ts(1526,3): error TS2532: Object is possibly 'undefined'.
src/theme/core/components/theme/theme.ts(6,1): error TS6133: 'KTDom' is declared but its value is never read.
src/theme/core/components/theme/theme.ts(27,23): error TS2345: Argument of type 'KTThemeConfigInterface | null' is not assignable to parameter of type 'object | undefined'.
Type 'null' is not assignable to type 'object | undefined'.
src/theme/core/components/theme/theme.ts(39,70): error TS2345: Argument of type '(event: Event, target: HTMLElement) => void' is not assignable to parameter of type 'KTCallableType'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event | undefined' is not assignable to type 'Event'.
Type 'undefined' is not assignable to type 'Event'.
src/App.tsx(6,22): error TS7016: Could not find a declaration file for module './theme/app/layouts/demo1.js'. 'C:/Users/Faithfull Coronel/source/repos/cortanatech-react-ts/src/theme/app/layouts/demo1.js' implicitly has an 'any' type.
src/theme/app/datatables/allowed-ip-addresses.ts(6,2): error TS6133: 'KTDatatableResponseDataInterface' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(50,4): error TS2322: Type '(item: string, data: IPAddressData, context: KTDataTableInterface) => string' is not assignable to type '(item: string | number | boolean | object, data: KTDataTableDataInterface, context: KTDataTableInterface) => string'.
Types of parameters 'item' and 'item' are incompatible.
Type 'string | number | boolean | object' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
src/theme/app/datatables/allowed-ip-addresses.ts(51,5): error TS6133: 'item' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(53,5): error TS6133: 'context' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(65,4): error TS2322: Type '(item: string) => string' is not assignable to type '(item: string | number | boolean | object, data: KTDataTableDataInterface, context: KTDataTableInterface) => string'.
Types of parameters 'item' and 'item' are incompatible.
Type 'string | number | boolean | object' is not assignable to type 'string'.
src/theme/app/datatables/allowed-ip-addresses.ts(85,4): error TS2322: Type '(item: string, data: IPAddressData) => string' is not assignable to type '(item: string | number | boolean | object, data: KTDataTableDataInterface, context: KTDataTableInterface) => string'.
Types of parameters 'item' and 'item' are incompatible.
Type 'string | number | boolean | object' is not assignable to type 'string'.
src/theme/app/datatables/allowed-ip-addresses.ts(86,5): error TS6133: 'item' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(87,5): error TS6133: 'data' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(94,24): error TS6133: 'cellData' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(95,5): error TS2531: Object is possibly 'null'.
src/theme/app/datatables/allowed-ip-addresses.ts(101,4): error TS2322: Type '(item: string, data: IPAddressData) => string' is not assignable to type '(item: string | number | boolean | object, data: KTDataTableDataInterface, context: KTDataTableInterface) => string'.
Types of parameters 'item' and 'item' are incompatible.
Type 'string | number | boolean | object' is not assignable to type 'string'.
src/theme/app/datatables/allowed-ip-addresses.ts(102,5): error TS6133: 'item' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(103,5): error TS6133: 'data' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(110,24): error TS6133: 'cellData' is declared but its value is never read.
src/theme/app/datatables/allowed-ip-addresses.ts(111,5): error TS2531: Object is possibly 'null'.
src/theme/app/datatables/allowed-ip-addresses.ts(121,1): error TS2531: Object is possibly 'null'.
src/theme/app/datatables/allowed-ip-addresses.ts(137,56): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
Type 'null' is not assignable to type 'string'.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Thank you! It works now.



Hi,

Glad to hear that. Please let us know if you need any additional help on this topic or anything else.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi,

Thank you for reaching out to us.

Unfortunately, we were not able to reproduce this problem in our Starterkit.

Please make sure that you are using source files from the latest Metronic v9.0.1 and that you are using the same typescript configuration. https://github.com/KeenthemesHub/metronic-tailwind-html-integration/blob/main/metronic-tailwind-vue/tsconfig.app.json

Also, recently we have updated our examples README.md file with instructions on running the example app.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(