Spaces:
Sleeping
Sleeping
UserSyncFrontend / node_modules /@plotly /mapbox-gl /src /style-spec /validate /validate_constants.js
| import ValidationError from '../error/validation_error'; | |
| export default function validateConstants(options) { | |
| const key = options.key; | |
| const constants = options.value; | |
| if (constants) { | |
| return [new ValidationError(key, constants, 'constants have been deprecated as of v8')]; | |
| } else { | |
| return []; | |
| } | |
| } | |