gabotorresruiz opened a new pull request, #36336:
URL: https://github.com/apache/superset/pull/36336

   <!---
   Please write the PR title following the conventions at 
https://www.conventionalcommits.org/en/v1.0.0/
   Example:
   fix(dashboard): load charts correctly
   -->
   
   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   Fixes TypeScript error in the Polygon transformProps test introduced in 
[#35266](https://github.com/apache/superset/pull/35266)
   
   <img width="710" height="250" alt="image" 
src="https://github.com/user-attachments/assets/4a33cfda-2de9-4c7f-b553-9581ef04100f";
 />
   
   The test was using `'table' as const` for the datasource type, which 
TypeScript doesn't recognize as assignable to the `DatasourceType` enum. This 
PR:
   - Imports `DatasourceType` from `@superset-ui/core`
   - Uses `DatasourceType.Table` instead of the string literal
   - Adds required `Datasource` interface properties (`name`, `columns`, 
`metrics`)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to