ForerunnerDB icon indicating copy to clipboard operation
ForerunnerDB copied to clipboard

Issue in types.d.ts file [typescript]

Open no-more opened this issue 8 years ago • 2 comments

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.

no-more avatar Sep 20 '16 09:09 no-more

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)

no-more avatar Sep 20 '16 09:09 no-more

This is an issue is tsd-jsdoc. I am aware of it and will try to get a fix soon.

englercj avatar Sep 20 '16 17:09 englercj