File tree 1 file changed +4
-4
lines changed
docs/src/pages/reference/configuration
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ id: configuration-hooks
3
3
title : Hooks
4
4
---
5
5
6
- ### afterAllFilesWritten
6
+ ### afterAllFilesWrite
7
7
8
8
Type: ` String ` or ` String[] ` or ` Function ` .
9
9
@@ -15,19 +15,19 @@ that are generated by orval.
15
15
module .exports = {
16
16
petstore: {
17
17
hooks: {
18
- afterAllFilesWritten : ' prettier --write' ,
18
+ afterAllFilesWrite : ' prettier --write' ,
19
19
},
20
20
},
21
21
};
22
22
```
23
23
24
- If you don't want to inject the generated files into the command, you can use ` afterAllFilesWritten ` with an object:
24
+ If you don't want to inject the generated files into the command, you can use ` afterAllFilesWrite ` with an object:
25
25
26
26
``` js
27
27
module .exports = {
28
28
petstore: {
29
29
hooks: {
30
- afterAllFilesWritten : {
30
+ afterAllFilesWrite : {
31
31
command: ' prettier --write .' ,
32
32
injectGeneratedDirsAndFiles: false ,
33
33
},
You can’t perform that action at this time.
0 commit comments