UNPKG
@maplibre/maplibre-gl-style-spec
Version:
latest (25.0.1)
next (18.0.1-pre.15)
25.0.1
25.0.0
24.10.0
24.9.0
24.8.5
24.8.4
24.8.3
24.8.2
24.8.1
24.8.0
24.7.0
24.6.0
24.5.0
24.4.1
24.4.0
24.3.1
24.3.0
24.2.0
24.1.1
24.1.0
24.0.0
23.3.0
23.2.3
23.2.2
23.2.1
23.2.0
23.1.0
23.0.0
22.0.1
22.0.0
21.2.0
21.1.0
21.0.0
20.4.0
20.3.1
20.3.0
20.2.0
20.1.1
20.1.0
20.0.0
19.3.3
19.3.2
19.3.1
19.3.0
19.2.2
19.2.1
19.2.0
19.1.0
19.0.1
19.0.0
18.0.1
18.0.1-pre.15
18.0.1-pre.14
18.0.1-pre.13
18.0.1-pre.12
18.0.1-pre.11
18.0.1-pre.10
18.0.1-pre.9
18.0.1-pre.8
18.0.1-pre.7
18.0.1-pre.6
18.0.1-pre.5
18.0.1-pre.4
18.0.1-pre.3
18.0.1-pre.2
18.0.1-pre.1
18.0.0
17.1.1-pre.4
17.1.1-pre.3
17.1.1-pre.2
17.1.1-pre.1
17.1.0
17.0.2
17.0.1
17.0.0
16.0.0
15.0.0
14.0.2
14.0.1
14.0.1-rc.1
14.0.0
a specification for maplibre styles
maplibre.org/maplibre-style-spec/
maplibre/maplibre-style-spec
@maplibre/maplibre-gl-style-spec
/
src
/
util
/
extend.ts
9 lines
(8 loc)
•
201 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
export
function
extendBy
(output: any, ...inputs: Array<any>)
{
for
(const
input
of inputs) {
for
(const k
in
input
) {
output
[k] =
input
[k]; } }
return
output
; }