Closed alasad311 closed 4 months ago
ive resolved it which is weird i had to go to
src/metronic/core/components/datatable/datatable.ts
There i had to add override for both
declare protected _config: KTDataTableConfigInterface;
declare protected _defaultConfig: KTDataTableConfigInterface;
save then remove override from both which then the issue gets resolved.
However, now im trying to get the SSR to work as im getting an error
Hey all,
After following the steps in
https://keenthemes.com/metronic/tailwind/docs/getting-started/integration/frontend/angular
Ive encountered an error as below;
(node:22384) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (Use
node --trace-warnings ...
to show where the warning was created) Application bundle generation failed. [9.921 seconds]X [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. [plugin angular-compiler]
X [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. [plugin angular-compiler]