Browse Source

Grammar mistake and docs build.

Afshin T. Darian 6 years ago
parent
commit
7fcf42f410
2 changed files with 2 additions and 2 deletions
  1. 1 1
      buildutils/README.md
  2. 1 1
      packages/coreutils/src/poll.ts

+ 1 - 1
buildutils/README.md

@@ -3,4 +3,4 @@
 A JupyterLab package which provides utility functions that are used to compile
 and build JupyterLab.
 
-This package is only intended for use within a Node.js environments.
+This package is only intended for use within Node.js environments.

+ 1 - 1
packages/coreutils/src/poll.ts

@@ -18,7 +18,7 @@ const defer =
 /**
  * A function to cancel a deferred action.
  */
-const cancel =
+const cancel: (timeout: any) => void =
   typeof cancelAnimationFrame === 'function'
     ? cancelAnimationFrame
     : clearImmediate;