I've just migrated my project from Angular 13 to Angular 17 and angular-slickgrid from 4.1.4 to 7.5.0 and I cannot build the project.
I have fixed all errors but one :
Compiling with Angular sources in Ivy full compilation mode.
ERROR: node_modules/@slickgrid-universal/common/dist/types/interfaces/column.interface.d.ts:6:189 - error TS2322: Type 'Join<R, D>' is not assignable to type 'string | number | bigint | boolean | null | undefined'.efined'.
Type 'unknown' is not assignable to type 'string | number | bigint | boolean | null | undefined'.
ever : string;
6 type Join<T extends any[], D extends string> = T extends [] ? never : T extends [infer F] ? F : T extends [infer F, ...infer R] ? F extends string ? string extends F ? string : ${F}${D}${Join<R, D>} : never : string;
And I don't find the reason of this error
I've check every Column implementation in the project to find a reason (bad description, missing field ...) but every piece of code looks good. I've tried to downgrade Typescript but no good effect. I've compared package.json between Latest Angular-Slickgrid-master. Everthing looks the same
As mentioned in the comments, that was an issue that was brought by recent TypeScript version which is a bit more strict than before. We added a fix in Slickgrid-Universal and in Angular-Slickgrid v7.6.0 which fixes this issue. I did upgrade TypeScript within Angular-Slickgrid itself and everything seems fine. Give it a try.