ソースを参照

docs: Minor corrections to developer guides (#2936)

Shubham Vishwakarma 1 年間 前
コミット
1c46a88af7

+ 2 - 2
docs/docs/guides/developer-guide/custom-fields/index.md

@@ -7,7 +7,7 @@ import Tabs from '@theme/Tabs';
 import TabItem from '@theme/TabItem';
 import CustomFieldProperty from '@site/src/components/CustomFieldProperty';
 
-Custom fields allow you to add your own custom data properties almost every Vendure entity. The entities which may have custom fields defined are listed in the [CustomFields interface documentation](/reference/typescript-api/custom-fields/).
+Custom fields allow you to add your own custom data properties to almost every Vendure entity. The entities which may have custom fields defined are listed in the [CustomFields interface documentation](/reference/typescript-api/custom-fields/).
 
 Some use-cases for custom fields include:
 
@@ -1202,7 +1202,7 @@ However, this sacrifices type safety. To make our custom fields type-safe we can
 ```ts
 // types.ts
 
-// Note: we are using deep a import here, rather than importing from `@vendure/core` due to
+// Note: we are using a deep import here, rather than importing from `@vendure/core` due to
 // a possible bug in TypeScript (https://github.com/microsoft/TypeScript/issues/46617) which
 // causes issues when multiple plugins extend the same custom fields interface.
 import { CustomProductFields } from '@vendure/core/dist/entity/custom-entity-fields';

+ 1 - 1
docs/docs/guides/developer-guide/strategies-configurable-operations/index.mdx

@@ -48,7 +48,7 @@ export class MyOrderCodeStrategy implements OrderCodeStrategy {
 
 :::info
 
-All strategies can be make use of existing services by using the `init()` method. This is because all strategies
+All strategies can make use of existing services by using the `init()` method. This is because all strategies
 extend the underlying [`InjectableStrategy` interface](/reference/typescript-api/common/injectable-strategy). In
 this example we are assuming that we already created an `OrderCodeService` which contains all the specific logic for
 connecting to our backend service which generates the order codes.