guan404ming commented on code in PR #70812:
URL: https://github.com/apache/airflow/pull/70812#discussion_r3758937831
##########
airflow-core/docs/authoring-and-scheduling/language-sdks/typescript.rst:
##########
@@ -87,7 +92,7 @@ top-level ``await startCoordinator()`` make the module a
runnable bundle entry p
.. code-block:: typescript
- import { registerTask, startCoordinator, type TaskHandlerArgs } from
"@apache-airflow/ts-sdk";
+ // registerTask, startCoordinator, and TaskHandlerArgs are provided by the
Airflow TypeScript SDK.
Review Comment:
The example now references registerTask / TaskHandlerArgs without any
import. The deleted line still matches ts-sdk/example/src/main.ts:20, so
restoring it keeps the snippet compilable. Same in ts-sdk/docs/index.md.
--
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]