Skip to content

[Bug] Unnecessarily required properties: sizeBasis #9882

@usagi-f

Description

@usagi-f

Description

#9736

The sizeBasis property was newly added in the above PR, but according to the documentation committed alongside it, this property is optional.

Actually this property is required in the type definition, resulting in a type error as shown in the attached image.

Image

Flavors

  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CARTO
  • ArcGIS

Expected Behavior

No response

Steps to Reproduce

When using IconLayer in TypeScript without the sizeBasis property.

Environment

  • Framework version: deck.gl@9.2.2
  • Browser: -
  • OS: -

Logs

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions