You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am (happily) stuck with the 2021 javascript version as when I try the 2023 typescript version I get errors. I tried compiling with little success , must admit that I have 0 experience compiling typescript. But I tried external ones like Google and still errors while compiling.
Any suggestions? I have tried for a couple of months to solve the issue, but so far the 2021 version is best... BTW it is the one used in the ChessBoard2 demo site... (examining the source code of THAT site)
Thanks, a marvellous piece of code...
The text was updated successfully, but these errors were encountered:
$ node_modules/.bin/tsc src/chess.ts node_modules/@types/node/globals.d.ts:72:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.72 declare var AbortSignal: { ~~~~~~~~~~~ node_modules/typescript/lib/lib.dom.d.ts:2071:13 2071 declare var AbortSignal: { ~~~~~~~~~~~ 'AbortSignal' was also declared here.Found 1 error in node_modules/@types/node/globals.d.ts:72
I am (happily) stuck with the 2021 javascript version as when I try the 2023 typescript version I get errors. I tried compiling with little success , must admit that I have 0 experience compiling typescript. But I tried external ones like Google and still errors while compiling.
Any suggestions? I have tried for a couple of months to solve the issue, but so far the 2021 version is best... BTW it is the one used in the ChessBoard2 demo site... (examining the source code of THAT site)
Thanks, a marvellous piece of code...
The text was updated successfully, but these errors were encountered: