jason810496 commented on code in PR #70812:
URL: https://github.com/apache/airflow/pull/70812#discussion_r3759104304
##########
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:
Thanks! I just applied the change to restore the actual `import {
registerTask, startCoordinator, type TaskHandlerArgs } from
"@apache-airflow/ts-sdk";` line here, and the equivalent import in
`ts-sdk/docs/index.md`, so both snippets are compilable and match
`ts-sdk/example/src/main.ts`.
--
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]