Update setValue() return type hint?

image

it's not a big deal, but the hint says the function return type is unknown... is this a bug in the linter or are there conditions that result in setValue() not returning a promise?

Hi @bobthebear!

Great catch, just read the thread you linked where it was not clear that setValue returns a promise and should state that more clearly to help users avoid such issues.

I imagine this is a linter issue, but if by some odd chance our eng team tells me there is a case where setValue() does not return a promise, you will be the first to know!

1 Like