Dexie.js icon indicating copy to clipboard operation
Dexie.js copied to clipboard

Update update-spec.d.ts, resolve #2001

Open janmarques opened this issue 1 year ago • 3 comments

Hi,

The issue https://github.com/dexie/Dexie.js/issues/2001 can be resolved with this change.

I have tested this by messing with the node_modules\.pnpm\[email protected]\node_modules\dexie\dist\dexie.d.ts file in my node_modules, resolving the typescript error. Also the test suite ( E:\git\Dexie.js>pnpm test ) is all green.

Using typescript 5.5.4, and dexie 4.0.8.

janmarques avatar Aug 02 '24 13:08 janmarques

@dfahlander wanted to make sure you saw this. Take your time of course.

janmarques avatar Aug 08 '24 05:08 janmarques

Seems to be a typo in the commit. Remove equals sign between interface and leading bracket?

image

dfahlander avatar Nov 15 '24 16:11 dfahlander

Yes you are right. I digged it up again and it is without the =, and my client code runs without warning.

janmarques avatar Nov 18 '24 10:11 janmarques