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
I tried fixing the types of flagsmith-vue in jhoermann/flagsmith-vue#254 but there are some issues that I'm getting from the flagsmith types:
Since the flags now also allow the type to be Record<string, any> it can't be passed to the IFlags type which is string only.
Strangely your type-checker doesn't seem to notice it - maybe its some sort setting.
Maybe it can be resolved with something like IFlags<F extends Record<string, any> ? keyof F : F>?
The text was updated successfully, but these errors were encountered:
I tried fixing the types of
flagsmith-vue
in jhoermann/flagsmith-vue#254 but there are some issues that I'm getting from the flagsmith types:Since the flags now also allow the type to be
Record<string, any>
it can't be passed to theIFlags
type which is string only.Strangely your type-checker doesn't seem to notice it - maybe its some sort setting.
Maybe it can be resolved with something like
IFlags<F extends Record<string, any> ? keyof F : F>
?The text was updated successfully, but these errors were encountered: