Skip to content

Commit

Permalink
chore: fix wrong compiler options instruction
Browse files Browse the repository at this point in the history
Corrected Typescript config instruction:

`comilerOptions.nodeResolution` changed it to the correct value: `compilerOptions.moduleResolution`
  • Loading branch information
noelzappy authored Oct 31, 2024
1 parent ba60d04 commit d9882da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ cron.matchDate(date: Date): boolean

You can schedule tasks to be executed based on a cron expression. _cron-schedule_ comes with 2 different schedulers.

If you use TypeScript, make sure you set `comilerOptions.nodeResolution` to `node16` or `nodenext`.
If you use TypeScript, make sure you set `compilerOptions.moduleResolution` to `node16` or `nodenext`.

### 1. Timer based scheduler

Expand Down

0 comments on commit d9882da

Please sign in to comment.