Skip to content

Commit 6770db7

Browse files
Merge pull request #992 from ericcrosson-bitgo/docs-openapi-generator-update-readme-with-preferred-instructions
docs(openapi-generator): update readme with preferred instructions
2 parents c63ce3a + dad9965 commit 6770db7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/openapi-generator/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ are done.
5656
transpiled js code. You can do this by modifying your `package.json` to include your
5757
source code in the bundle. For example, if the source code is present in the `src/`
5858
directory, then add `src/` to the files array in the `package.json` of your project.
59-
2. After Step 1, change the `types` field in the `package.json` to be the entry point of
60-
the types in the source code. For example, if the entrypoint is `src/index.ts`, then
61-
set `"types": "src/index.ts"` in the `package.json`
59+
2. After Step 1, change the `source` field in the `package.json` to be the entry point
60+
of the types in the source code. For example, if the entrypoint is `src/index.ts`,
61+
then set `"source": "src/index.ts"` in the `package.json`
6262

6363
## 4. Defining Custom Codecs
6464

0 commit comments

Comments
 (0)