From 66b731d4db08d220bf28f0adc591af824404f119 Mon Sep 17 00:00:00 2001 From: welfuture Date: Sat, 20 Apr 2024 20:48:16 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: welfuture --- .../src/kafka-concurrent/kafka-concurrent.controller.ts | 2 +- integration/mosquitto.conf | 2 +- packages/core/test/interceptors/interceptors-consumer.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/microservices/src/kafka-concurrent/kafka-concurrent.controller.ts b/integration/microservices/src/kafka-concurrent/kafka-concurrent.controller.ts index fb3c9f4f2..a0ede418f 100644 --- a/integration/microservices/src/kafka-concurrent/kafka-concurrent.controller.ts +++ b/integration/microservices/src/kafka-concurrent/kafka-concurrent.controller.ts @@ -13,7 +13,7 @@ import { Observable } from 'rxjs'; import { SumDto } from './dto/sum.dto'; /** - * The following function explicity sends messages to the key representing the partition. + * The following function explicitly sends messages to the key representing the partition. */ const explicitPartitioner = () => { return ({ message }: PartitionerArgs) => { diff --git a/integration/mosquitto.conf b/integration/mosquitto.conf index 440823741..ba2fbeb43 100644 --- a/integration/mosquitto.conf +++ b/integration/mosquitto.conf @@ -573,7 +573,7 @@ allow_anonymous true # not given then the access is read/write. can contain the + or # # wildcards as in subscriptions. # -# The "deny" option can used to explicity deny access to a topic that would +# The "deny" option can used to explicitly deny access to a topic that would # otherwise be granted by a broader read/write/readwrite statement. Any "deny" # topics are handled before topics that grant read/write access. # diff --git a/packages/core/test/interceptors/interceptors-consumer.spec.ts b/packages/core/test/interceptors/interceptors-consumer.spec.ts index 470310652..306d3f33b 100644 --- a/packages/core/test/interceptors/interceptors-consumer.spec.ts +++ b/packages/core/test/interceptors/interceptors-consumer.spec.ts @@ -86,7 +86,7 @@ describe('InterceptorsConsumer', () => { }); describe('when AsyncLocalStorage is used', () => { - it('should allow an interceptor to set values in AsyncLocalStorage that are accesible from the controller', async () => { + it('should allow an interceptor to set values in AsyncLocalStorage that are accessible from the controller', async () => { const storage = new AsyncLocalStorage>(); class StorageInterceptor implements NestInterceptor { intercept(