guan404ming commented on PR #49794: URL: https://github.com/apache/airflow/pull/49794#issuecomment-2835780439
I change the slotConfigs into array and it did help to make the type annotation much more better. Since I always got the `string` type even when I passing the `Literal` type like "open" | "occuppied" to `Object.entries`, it seems like it blames to ts. Thus, I need to perform lots of tricks to make type checker be happy. But change it into array solve this. Thanks to array. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org