chore: fix typo in codebase (#11846)

This commit is contained in:
Huáng Jùnliàng
2020-07-16 17:01:20 -04:00
committed by GitHub
parent 02f30af59c
commit 8f191ead92
18 changed files with 22 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
// @flow
// We keep this in a seprate file so that in older node versions, where
// We keep this in a separate file so that in older node versions, where
// import() isn't supported, we can try/catch around the require() call
// when loading this file.

View File

@@ -10,7 +10,7 @@ const runGenerator = gensync(function* (item) {
return yield* item;
});
// This Gensync returns true if the current execution contect is
// This Gensync returns true if the current execution context is
// asynchronous, otherwise it returns false.
export const isAsync = gensync<[], boolean>({
sync: () => false,