mirror of
https://github.com/maputnik/editor.git
synced 2026-07-31 18:27:28 +00:00
Migrate all the non react components code to typescript (#847)
This completes the migration to typescript of all the non react components code. The only changes introduced besides types are the type checks using `"something" in object` which narrows down types in typescript.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
const spec = {
|
||||
maputnik: {
|
||||
maptiler_access_token: {
|
||||
label: "MapTiler Access Token",
|
||||
doc: "Public access token for MapTiler Cloud."
|
||||
},
|
||||
thunderforest_access_token: {
|
||||
label: "Thunderforest Access Token",
|
||||
doc: "Public access token for Thunderforest services."
|
||||
},
|
||||
style_renderer: {
|
||||
label: "Style Renderer",
|
||||
doc: "Choose the default Maputnik renderer for this style.",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
export default spec;
|
||||
Reference in New Issue
Block a user