Skip to content

Commit

Permalink
Fixed several typos (#1422)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-xia authored and cleemullins committed Nov 20, 2019
1 parent 87aca49 commit 7e01e9b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion libraries/botbuilder-azure/src/cosmosDbStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class CosmosDbStorage implements Storage {
private databaseCreationRequestOption: RequestOptions;

/**
* Creates a new ConsmosDbStorage instance.
* Creates a new CosmosDbStorage instance.
*
* @param settings Setting to configure the provider.
* @param connectionPolicyConfigurator (Optional) An optional delegate that accepts a ConnectionPolicy for customizing policies. More information at http://azure.github.io/azure-documentdb-node/global.html#ConnectionPolicy
Expand Down
2 changes: 1 addition & 1 deletion libraries/botbuilder-core/src/autoSaveStateMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class AutoSaveStateMiddleware implements Middleware {
*/
public botStateSet: BotStateSet;
/**
* Creates a new AutoSaveStateiMiddleware instance.
* Creates a new AutoSaveStateMiddleware instance.
* @param botStates One or more BotState plugins to automatically save at the end of the turn.
*/
constructor(...botStates: BotState[]) {
Expand Down
8 changes: 4 additions & 4 deletions libraries/botbuilder-core/src/showTypingMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import { Middleware } from './middlewareSet';
import { TurnContext } from './turnContext';

/**
* Middleware that will send a typing indicator autmatically for each message.
* Middleware that will send a typing indicator automatically for each message.
*
* @remarks
* When added, this middleware will send typing activities back to the user when a Message activity
* is receieved to let them know that the bot has received the message and is working on the response.
* is received to let them know that the bot has received the message and is working on the response.
* You can specify a delay in milliseconds before the first typing activity is sent and then a frequency,
* also in milliseconds which determines how often another typing activity is sent. Typing activities
* will continue to be sent until your bot sends another message back to the user
Expand Down Expand Up @@ -67,7 +67,7 @@ export class ShowTypingMiddleware implements Middleware {
};

// Sending the Activity directly via the Adapter avoids other middleware and avoids setting the
// responded flag. However this also requires tha tthe conversation reference details are explicitly added.
// responded flag. However this also requires that the conversation reference details are explicitly added.
const conversationReference: Partial<ConversationReference> =
TurnContext.getConversationReference(context.activity);
typingActivity = TurnContext.applyConversationReference(typingActivity, conversationReference);
Expand Down Expand Up @@ -109,7 +109,7 @@ export class ShowTypingMiddleware implements Middleware {
};

// Sending the Activity directly via the Adapter avoids other middleware and avoids setting the
// responded flag. However this also requires tha tthe conversation reference details are explicitly added.
// responded flag. However this also requires that the conversation reference details are explicitly added.
const conversationReference: Partial<ConversationReference> = TurnContext.getConversationReference(context.activity);
typingActivity = TurnContext.applyConversationReference(typingActivity, conversationReference);

Expand Down
4 changes: 2 additions & 2 deletions libraries/botbuilder-core/src/transcriptLogger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export interface TranscriptStore extends TranscriptLogger {
* Get activities for a conversation (Aka the transcript)
* @param channelId Channel Id.
* @param conversationId Conversation Id.
* @param continuationToken Continuatuation token to page through results.
* @param continuationToken Continuation token to page through results.
* @param startDate Earliest time to include.
*/
getTranscriptActivities(
Expand All @@ -221,7 +221,7 @@ export interface TranscriptStore extends TranscriptLogger {
/**
* List conversations in the channelId.
* @param channelId Channel Id.
* @param continuationToken Continuatuation token to page through results.
* @param continuationToken Continuation token to page through results.
*/
listTranscripts(channelId: string, continuationToken?: string): Promise<PagedResult<TranscriptInfo>>;

Expand Down

0 comments on commit 7e01e9b

Please sign in to comment.