Improve and clean up style-spec types #11520
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A part of #11426.
deref.js
,diff.js
,empty.js
,group_by_layout.js
,validate_style.min.js
constants
validation from style-spec. Support for root style constants was removed at least 7 years ago, so it's no longer relevant and will simply be ignored from now on.declass.js
as it's been unused for many years, and isn't even a part of themigrate
function.empty.js
that generates an empty style — it's still covered with tests so there's no need to be worried if we bump the style spec version.Launch Checklist
@mapbox/map-design-team
if this PR includes style spec API or visual changes