Skip to content

Commit

Permalink
add missing return type for changeRgbMappingArraysWithFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
zcernigoj committed May 18, 2020
1 parent 38203e8 commit 3ecc37e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapDataManipulation/mapDataManipulationUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function prepareRgbMappingArrays(): RgbMappingArrays {
export function changeRgbMappingArraysWithFunction(
rgbMappingArrays: RgbMappingArrays,
transfrormationFunction: Function,
) {
): RgbMappingArrays {
rgbMappingArrays.red = rgbMappingArrays.red.map(x => transfrormationFunction(x));
rgbMappingArrays.green = rgbMappingArrays.green.map(x => transfrormationFunction(x));
rgbMappingArrays.blue = rgbMappingArrays.blue.map(x => transfrormationFunction(x));
Expand Down

0 comments on commit 3ecc37e

Please sign in to comment.