Skip to content

Commit

Permalink
docs: fix api examples
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovRoman committed Feb 14, 2024
1 parent 1fb705a commit 1559fcc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/en/create-hermione-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ createHermioneApp.run({
generalPrompts,
generalPromptsHandler,
createPluginsConfig,
getExtraPackagesToInstall
getExtraPackagesToInstall,
getTestExample,
registry
});
```
Expand Down Expand Up @@ -198,6 +199,8 @@ createHermioneApp.run({
You can also pass extra packages, which will be installed with `hermione` unconditionally

```ts
import type { GetExtraPackagesToInstallCallback } from "create-hermione-app";

const getExtraPackagesToInstall: GetExtraPackagesToInstallCallback = () => ({
names: ["chai"],
notes: []
Expand Down
5 changes: 4 additions & 1 deletion docs/ru/create-hermione-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ createHermioneApp.run({
generalPrompts,
generalPromptsHandler,
createPluginsConfig,
getExtraPackagesToInstall
getExtraPackagesToInstall,
getTestExample,
registry
});
```
Expand Down Expand Up @@ -198,6 +199,8 @@ createHermioneApp.run({
Вы также можете указать дополнительные пакеты, которые будут установлены с `hermione` без всяких условий

```ts
import type { GetExtraPackagesToInstallCallback } from "create-hermione-app";

const getExtraPackagesToInstall: GetExtraPackagesToInstallCallback = () => ({
names: ["chai"],
notes: []
Expand Down

0 comments on commit 1559fcc

Please sign in to comment.