Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/improve expression type #1510

Merged
merged 2 commits into from
Aug 17, 2022
Merged

Conversation

cns-solutions-admin
Copy link
Contributor

Fixes interpolate typing: allow number arrays, but no expressions (see #1380 (comment))
Also fixes interpolate-hcl/interpolate-lab.
Fix step typing (same as #1509)
Simplify +, concat, coalesce typings (like done for the interpolate types)

Separates tests for expressions per se and tests for expressions with injected constants.
In most cases this would require typing the constant due to typescript inferring rather broad types, but for some simple cases it is possible.

Fix step typing.
Simplify +, concat, coalesce typings.
@github-actions
Copy link
Contributor

github-actions bot commented Aug 17, 2022

Bundle size report:

Size Change: 0 B
Total Size Before: 204 kB
Total Size After: 204 kB

Output file Before After Change
maplibre-gl.js 195 kB 195 kB 0 B
maplibre-gl.css 9.65 kB 9.65 kB 0 B
ℹ️ View Details No major changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants