Skip to content

Commit 19b3ba4

Browse files
committed
js ext to ts ext
1 parent 3f7f60a commit 19b3ba4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/service-bus-messaging/service-bus-typescript-how-to-use-queues.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The following sample code shows you how to send a message to a queue.
9898
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
9999
100100
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/).
101-
1. In the `src` folder, create a file called `send.js` and paste the below code into it. This code sends the names of scientists as messages to your queue.
101+
1. In the `src` folder, create a file called `send.ts` and paste the below code into it. This code sends the names of scientists as messages to your queue.
102102
103103
> [!IMPORTANT]
104104
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
@@ -122,7 +122,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
122122
### [Connection string](#tab/connection-string)
123123
124124
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/).
125-
1. In the `src` folder, create a file called `src/send.js` and paste the below code into it. This code sends the names of scientists as messages to your queue.
125+
1. In the `src` folder, create a file called `src/send.ts` and paste the below code into it. This code sends the names of scientists as messages to your queue.
126126
127127
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/queues/send-queue.ts" :::
128128
@@ -149,7 +149,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
149149
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
150150

151151
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
152-
2. In the `src` folder, create a file called `receive.js` and paste the following code into it.
152+
2. In the `src` folder, create a file called `receive.ts` and paste the following code into it.
153153

154154
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/passwordless/queues/receive-queue.ts" :::
155155

@@ -165,7 +165,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
165165
### [Connection string](#tab/connection-string)
166166

167167
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
168-
2. In the `src` folder, create a file called `receive.js` and paste the following code into it.
168+
2. In the `src` folder, create a file called `receive.ts` and paste the following code into it.
169169

170170
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/queues/receive-queue.ts" :::
171171

articles/service-bus-messaging/service-bus-typescript-how-to-use-topics-subscriptions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The following sample code shows you how to send a batch of messages to a Service
100100
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
101101
102102
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
103-
2. In the `src` folder, create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
103+
2. In the `src` folder, create a file called `sendtotopic.ts` and paste the below code into it. This code will send a message to your topic.
104104
105105
> [!IMPORTANT]
106106
> The passwordless credential is provided with the [**DefaultAzureCredential**](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential).
@@ -124,7 +124,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
124124
### [Connection string](#tab/connection-string)
125125
126126
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
127-
2. In the `src` folder, create a file called `sendtotopic.js` and paste the below code into it. This code will send a message to your topic.
127+
2. In the `src` folder, create a file called `sendtotopic.ts` and paste the below code into it. This code will send a message to your topic.
128128
129129
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/connection-strings/topics/send-topic.ts" :::
130130
@@ -151,7 +151,7 @@ You must have signed in with the Azure CLI's `az login` in order for your local
151151
You must have signed in with the Azure CLI's `az login` in order for your local machine to provide the passwordless authentication required in this code.
152152

153153
1. Open your favorite editor, such as [Visual Studio Code](https://code.visualstudio.com/)
154-
2. In the `src` folder, create a file called `receivefromsubscription.js` and paste the following code into it. See code comments for details.
154+
2. In the `src` folder, create a file called `receivefromsubscription.ts` and paste the following code into it. See code comments for details.
155155

156156
:::code language="typescript" source="~/azure-typescript-e2e-apps/quickstarts/service-bus/ts/src/passwordless/topics/receive-topic.ts" :::
157157

0 commit comments

Comments
 (0)