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
In short: Using vscode, node and trying to import pg_tgrm, the following: import { pg_trgm } from '@electric-sql/pglite/contrib/pg_trgm' works but has a type issue in vscode Cannot find module '@electric-sql/pglite/contrib/pg_trgm' or its corresponding type declarations
The following: import { pg_trgm } from '@electric-sql/pglite/dist/contrib/pg_trgm' does not have type issues but fails when running with node Missing "./dist/contrib/pg_trgm" specifier in "@electric-sql/pglite" package
I think the first option should work but some type export config is likely wrong?
The text was updated successfully, but these errors were encountered:
Following up from discord: https://discord.com/channels/933657521581858818/1212676471588520006/1272947534960001054
In short: Using vscode, node and trying to import
pg_tgrm
, the following:import { pg_trgm } from '@electric-sql/pglite/contrib/pg_trgm'
works but has a type issue in vscodeCannot find module '@electric-sql/pglite/contrib/pg_trgm' or its corresponding type declarations
The following:
import { pg_trgm } from '@electric-sql/pglite/dist/contrib/pg_trgm'
does not have type issues but fails when running with nodeMissing "./dist/contrib/pg_trgm" specifier in "@electric-sql/pglite" package
I think the first option should work but some type export config is likely wrong?
The text was updated successfully, but these errors were encountered: