---
title: "StyleSetterOptions | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias StyleSetterOptions

Supporting type to add validation to another style related type

type StyleSetterOptions \= {  
    [validate](#validate)?: boolean;  
}

##### Index

### Properties[](#properties)

[validate?](#validate)

## Properties[](#properties-1)

### `Optional`validate[](#validate)

validate?: boolean

Whether to check if the filter conforms to the MapLibre Style Specification. Disabling validation is a performance optimization that should only be used if you have previously validated the values you will be passing to this function.
