i get this errore when i try to buidl in production aot mode:
ERROR in node_modules/dexie/dist/dexie.d.ts:53:18 - error TS2430: Interface 'PromiseExtendedConstructor' incorrectly extends interface 'PromiseConstructor'.
The types of 'all(...).then(...).then' are incompatible between these types.
Type '<TResult1 = any, TResult2 = never>(onfulfilled?: (value: any) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => PromiseExtended<...>' is not assignable to type '{ <TResult1 = any, TResult2 = never>(onfulfilled?: (value: any) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>): Promise<...>; <TResult1 = any, TResult2 = never>(onfulfilled?: (value: any, extraParameters: any) => TResult1 | PromiseLike<...>, onrejected?: (reason:...'.
Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible.
any idea?