Skip to content

Commit

Permalink
docs: Fix a few typos (#2674)
Browse files Browse the repository at this point in the history
There are small typos in:
- docs/frequently_asked_questions.md
- test/types-test-support/generate-types-test.js

Fixes:
- Should read `instantaneous` rather than `instanteneous`.
- Should read `consistent` rather than `consinstent`.

Signed-off-by: Tim Gates <tim.gates@iress.com>

Signed-off-by: Tim Gates <tim.gates@iress.com>
  • Loading branch information
timgates42 authored Dec 27, 2022
1 parent 9d4ef30 commit 0b68409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/frequently_asked_questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ performance and reduce flakiness in tests.
which has heavy image or fonts to loaded.
* `targetNavigated` - Wait for this event if there is a new tab/window open or close
that happens because of an action.
* `loadEventFired` - Wait for this event if an action triggers a page load which is not instanteneous.
* `loadEventFired` - Wait for this event if an action triggers a page load which is not instantaneous.
For example
Expand Down
2 changes: 1 addition & 1 deletion test/types-test-support/generate-types-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const util = require('util');
* Generates a statement that instantiates a const of the specified type and assigns the
* literal to the const.
* Dtslint will look as the generated function and produce warnings if the fields in
* the literal and in the type declaration are not consinstent.
* the literal and in the type declaration are not consistent.
* The assignment is wrapped in an exported function to avoid irrelevant lint warnings.
*
* @param {string} typeName type to be assigned to the constant producing something
Expand Down

0 comments on commit 0b68409

Please sign in to comment.