sqlitetable circular reference
I'm trying to create a self referencing table using sqlite, here is what I'm doing
but I'm getting this type error
Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.ts(7024)
Is there any way to structure this to to remove the TS warning?
1 Reply
I solved it by using an :AnySqliteColumn on the reference.