Skip to content

Commit

Permalink
chore: fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Jul 20, 2024
1 parent a0fe767 commit 9912500
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/generators.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const createGenerator = input => {
for (const generatorName of options.generators) {
const { dependsOn, generate } = availableGenerators[generatorName];

// If the generator dependency has not yet been reslved, we resolve
// If the generator dependency has not yet been resolved, we resolve
// the dependency first before running the current generator
if (dependsOn && !cachedGenerators.has(dependsOn)) {
await runGenerators({ ...options, generators: [dependsOn] });
Expand Down
2 changes: 1 addition & 1 deletion src/generators/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface GeneratorMetadata<I extends any = any, O extends any = any> {
* If a given generator has no "before" generator, it will be considered a top-level
* generator, and run in parallel.
*
* Assume you pass to the `createGenerator`: ['json', 'html'] as ther generators,
* Assume you pass to the `createGenerator`: ['json', 'html'] as the generators,
* this means both the 'json' and the 'html' generators will be executed and generate their
* own outputs in parallel. If the 'html' generator depends on the 'react' generator, then
* the 'react' generator will be executed first, then the 'html' generator.
Expand Down
2 changes: 1 addition & 1 deletion src/parser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const createParser = () => {

// This is the cutover index of the subtree that we should get
// of all the Nodes within the AST tree that belong to this section
// If `next` is equals the current heading, it means ther's no next heading
// If `next` is equals the current heading, it means there's no next heading
// and we are reaching the end of the document, hence the cutover should be the end of
// the document itself.
const stop =
Expand Down

0 comments on commit 9912500

Please sign in to comment.