Skip to content

Comments

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

Open
janmarques wants to merge 2 commits intodexie:masterfrom
janmarques:patch-1
Open

Update update-spec.d.ts, resolve #2001#2049
janmarques wants to merge 2 commits intodexie:masterfrom
janmarques:patch-1

Conversation

@janmarques
Copy link

@janmarques janmarques commented Aug 2, 2024

Hi,

The issue #2001 can be resolved with this change.

I have tested this by messing with the node_modules\.pnpm\dexie@4.0.8\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 janmarques changed the title Update update-spec.d.ts Update update-spec.d.ts, resolve #2001 Aug 3, 2024
@janmarques
Copy link
Author

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

@dfahlander
Copy link
Collaborator

dfahlander commented Nov 15, 2024

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

image

@janmarques
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants