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
[Chore]: Technical: Translate deckgl-layers/layer-utils typesfix #1791
Conversation
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[]; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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>
No description provided.