bun
bun copied to clipboard
Update sqlite.d.ts
somewhat of a breaking change
put the ReturnType
last and make it optional for compatibility with better-sqlite3 and to make it easier to insert something when returning is not needed:
db.prepare<string>("INSERT INTO ids (id) values (?)").run(crypto.randomUUID());
What does this PR do?
- [ ] Documentation or TypeScript types (it's okay to leave the rest blank in this case)
- [ ] Code changes