Browse Source

docs(core): Fix docs on custom field typings

Michael Bromley 4 years ago
parent
commit
ab031a83bd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/content/developer-guide/customizing-models.md

+ 1 - 0
docs/content/developer-guide/customizing-models.md

@@ -204,6 +204,7 @@ However, this sacrifices type safety. To make our custom fields type-safe we can
 
 
 ```TypeScript
 ```TypeScript
 // types.ts
 // types.ts
+import { CustomProductFields } from '@vendure/core';
 
 
 declare module '@vendure/core' {
 declare module '@vendure/core' {
   interface CustomProductFields {
   interface CustomProductFields {