Skip to content

Commit

Permalink
fix(aggregation-layers): Fix missing types export (#8713)
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored and felixpalmer committed Mar 27, 2024
1 parent 292bc21 commit b3bc8d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/aggregation-layers/src/aggregation-layer.ts
Expand Up @@ -24,7 +24,8 @@ import {
LayerDataSource,
_compareProps as compareProps,
UpdateParameters,
CompositeLayerProps
CompositeLayerProps,
Attribute
} from '@deck.gl/core';
import {filterProps} from './utils/prop-utils';

Expand Down Expand Up @@ -75,7 +76,7 @@ export default abstract class AggregationLayer<
this.setState({changedAttributes});
}

getAttributes() {
getAttributes(): {[id: string]: Attribute} {
return this.getAttributeManager()!.getAttributes();
}

Expand Down
1 change: 1 addition & 0 deletions modules/core/src/index.ts
Expand Up @@ -45,6 +45,7 @@ export {default as _PickLayersPass} from './passes/pick-layers-pass';
export {default as Deck} from './lib/deck';

export {default as LayerManager} from './lib/layer-manager';
export {default as Attribute} from './lib/attribute/attribute';
export {default as AttributeManager} from './lib/attribute/attribute-manager';
export {default as Layer} from './lib/layer';
export {default as CompositeLayer} from './lib/composite-layer';
Expand Down
1 change: 1 addition & 0 deletions modules/main/src/index.ts
Expand Up @@ -56,6 +56,7 @@ export {
OrthographicController,
_GlobeController,
// For custom layers
Attribute,
AttributeManager,
// Shader modules
picking,
Expand Down

0 comments on commit b3bc8d8

Please sign in to comment.