You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Absolutely! We can definitely make these adjustments. Currently, some functions have varying parameter types, with some separated and some not. It would be great to separate and export them accordingly.
Regarding the function parameter style:
// Some are like this:getNote(characterId: number,noteId: number)// While some are like this:getNotes(options: NoteQueryOptions)
I believe sticking to the second format consistently is the way to go. It's a significant change that we should implement in v2.
Like
NoteQueryOptions
. Otherwise, we must usetype NoteQueryOptions = Parameters<typeof indexer.note.getMany>[0]
The text was updated successfully, but these errors were encountered: