ForerunnerDB
ForerunnerDB copied to clipboard
Issue in types.d.ts file [typescript]
Hi,
I have some errors in the types.d.ts files: ( fdb version : 1.3.897)
- line 535, insertCallback should be a function declaration and not a type
- line 2894, addTriggerCallback should be a function declaration and not a type
- line 3630, issue on class init declaration, I'm not sure if this should be a function instead of class declaration ?
- line 4143, issue on class overload declaration, I'm not sure if this should be a function instead of class declaration ?
Thanks.
For insertCallback and addTriggerCallback it seems I was wrong, they might be types, but you can't declare them inside the class declaration, they must be defined before the class. (At least that's what I think)
This is an issue is tsd-jsdoc. I am aware of it and will try to get a fix soon.