mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #220] Multiple TypeScript errors when using package acebase #102
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Septh on GitHub (Apr 26, 2023).
Original GitHub issue: https://github.com/appy-one/acebase/issues/220
This minimalist TypeScript code:
ends up with TypeScript reporting 6 errors.
(expand to reveal screenshot, text-only version is below)
AceBase
1.28.2, tested with both TypeScript4.9.5and5.0.4(note that I have"skipLibCheck": falseintconfig.json).@appy-one commented on GitHub (Apr 26, 2023):
Hi @Septh I tried to reproduce but can only when setting
skipLibChecktofalse.Check out the following minimal project:
package.json:
tsconfig.json:
src/index.ts:
Running
npx tscyields no errors. SettingskipLibChecktofalsewill yield the errors you posted.I will take a look at the errors, because they should not be there in the first place, but it does look like there is something wrong with your configuration. Are you sure
tscis picking up yourtsconfig.json? You did mentiontconfig.json, which might a typo or misspelling of the actual file?@Septh commented on GitHub (Apr 27, 2023):
Thanks. You're right of course, this is a typo from me - I did mean
tsconfig.json. And yes, the errors only show whenskipLibCheckisfalse(which is the default anyway).@appy-one commented on GitHub (Apr 30, 2023):
Updating to v1.28.4 should fix this!