Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chore]: Technical: Translate deckgl-layers/layer-utils typesfix #1791

Merged

Conversation

HeimEndyd
Copy link
Collaborator

No description provided.

Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
aggregationUpdater: {};

constructor(opts: {initialState?: CPUAggregatorState; dimensions?; aggregation?} = {}) {
dimensionUpdaters: DimensionType[];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the original type is correct dimensionUpdaters is a key value map


this._addDimension(opts.dimensions || defaultDimensions);
this._addAggregation(opts.aggregation || defaultAggregation);
this.dimensionUpdaters = opts.dimensions || defaultDimensions;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the _addDimension will change the dimensionUpdaters to an array instead of an object

Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
@HeimEndyd HeimEndyd merged commit ae1173e into master May 6, 2022
@delete-merged-branch delete-merged-branch bot deleted the ms/js_to_ts_convertion/deckgl-layers/typesfix_layer-utils branch May 6, 2022 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants