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
How can I convince the type system to recognize property getDashArray on PathLayer if I add PathStyleExtension to it?1 It seems like Layer interface could have optional 3rd generic parameter to somehow extend the interface. I could probably cast the created layer to my own custom type that extends PathLayer interface but casting is not something I'd use if I can avoid it.
Footnotes
I followed instructions here on adding the extension ↩
The text was updated successfully, but these errors were encountered:
How can I convince the type system to recognize property
getDashArray
onPathLayer
if I addPathStyleExtension
to it?1 It seems likeLayer
interface could have optional 3rd generic parameter to somehow extend the interface. I could probably cast the created layer to my own custom type that extendsPathLayer
interface but casting is not something I'd use if I can avoid it.Footnotes
I followed instructions here on adding the extension ↩
The text was updated successfully, but these errors were encountered: