Skip to content

Commit fc4c3b8

Browse files
committed
docs: add important JSDoc note
1 parent c7e6591 commit fc4c3b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const loadJsonFile = async (filePath: string, { encoding, tabSize }: Pick<Option
7373
* modifies **original** JSON file
7474
* You can pass generic, that reflects the structure of original JSON file
7575
*
76-
* @param modifyFields Function setter or fields to merge
76+
* @param modifyFields Fields to merge or callback (can be async). If callback is passed, JSON fields won't be merged.
7777
*/
7878
export const modifyJsonFile: ModifyJsonFileGenericFunction = async (
7979
path,

0 commit comments

Comments
 (0)