Missing property in the style's Function type definitions
Open
Nobody has claimed this yet.
api :memo:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
The `base` property is present in the [API docs](https://docs.mapbox.com/mapbox-gl-js/style-spec/#other-function), but is missing in the [type definition](https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/types.js#L33)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/style-spec/types.js at the referenced Function type definition and compare it with the API documentation for the other/function section. Update the definition to include the documented base property, then run the relevant style-spec type checks or tests; done means the property is represented without breaking existing definitions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100