Fix compile time issue with typescript strict mode#194
Conversation
HarelM
left a comment
There was a problem hiding this comment.
I've seen this too today. Thanks for the fix!
|
Bundle size report: Size Change: 0 B
ℹ️ View DetailsNo major changes |
|
Can you add a changelog comment? And maybe remove the links and keep only the bug/pr number... (my fault)? |
I just updated the changelog in my PR but don't know how to do the "remove the link and keep the bug/pr number" part. |
|
In line 17 and 18 simply keep the (#issue number) without the |
|
Thank you for these explanations. I have modified the PR. |
|
Thanks! let me know how urgent this is for you as I would like to pull in some more content before releasing a new version... |
|
The sooner the better, it's a blocking issue for every Angular user that uses at least the version 10 or above. I didn't try it with React but i assume the fix is as useful if they use the same strict system. So i bet every user with Angular 10+ projet that uses maplibre must be in pain right now ha ha |
|
It's not fully blocking as you can disable strict mode or use version 1.14.1.something, but I'll see what I can do. I can relate to your pain. Please ping me in a few days in case I forget. |
|
Thanks for the fixing it, without it we can't update either. |
|
thx @ArthurMetzger, we were running into this as well (cf elastic/kibana#104505 (comment)) thx @HarelM for the quick follow up :) |
|
"If you build it they will come...", I mean if you pull-request it I will merge it :-) |
Since the release of the new version 1.15.0, I have an error in the declaration of 2 methods with the strict mode of Typescript. The strict mode of TS implies to fill the type of returns.
Launch Checklist
maplibre-gl-jschangelog:<changelog></changelog>