Closed s-lukashenka-micoworks closed 4 months ago
Hi, can you share you code snippet?
This example.ts file is the entry point of the dev env. It is working as expected, Typescript wise.
Can you check if your code is different?
This error started occurring for me after upgrading to the latest TypeScript v5.5.2.
Let me check this....
I've updated to Typescript 5.5.2
, it shows some errors on UI, but not inside the adapter... as yours
Can you prepare a small repo that reproduces this?
Compiled successfully with TS 5.5.2
Pay attention, you have 2 versions of the lib.... Try to clean install it.
Indeed, for some reason there were two (identical) versions present for me as well. This is likely due to a bug in pnpm. Upgrading pnpm from v7 to v9 fixed this for me. Weirdly enough, two copies were not an issue before TypeScript upgrade.
@Dremora, Is this solved for now?
@felixmosh it got resolved for me by upgrading pnpm to the latest version. I'd suggest @s-lukashenka-micoworks trying the same.
Current behavior:
@bull-board/api
version: 5.20.4I am seeing the following type error with
serverAdapter
when using the expressjs way:Desired behavior
No type mismatch error observed.