This commit is contained in:
10
node_modules/@mapbox/mapbox-gl-style-spec/util/extend.js
generated
vendored
Normal file
10
node_modules/@mapbox/mapbox-gl-style-spec/util/extend.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// @flow
|
||||
|
||||
export default function (output: any, ...inputs: Array<any>): any {
|
||||
for (const input of inputs) {
|
||||
for (const k in input) {
|
||||
output[k] = input[k];
|
||||
}
|
||||
}
|
||||
return output;
|
||||
}
|
||||
Reference in New Issue
Block a user