Skip to content

Commit

Permalink
Merge pull request #1922 from GoogleChrome/fix-jsdocs
Browse files Browse the repository at this point in the history
Add missing jsdoc namespace declarations
  • Loading branch information
philipwalton committed Feb 27, 2019
2 parents 1a0e8fa + fa1253f commit d76e770
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/workbox-routing/index.mjs
Expand Up @@ -23,6 +23,10 @@ if (process.env.NODE_ENV !== 'production') {
assert.isSWEnv('workbox-routing');
}

/**
* @namespace workbox.routing
*/

export {
NavigationRoute,
RegExpRoute,
Expand Down
4 changes: 4 additions & 0 deletions packages/workbox-sw/index.mjs
Expand Up @@ -9,5 +9,9 @@
import {WorkboxSW} from './controllers/WorkboxSW.mjs';
import './_version.mjs';

/**
* @namespace workbox
*/

// Don't export anything, just expose a global.
self.workbox = new WorkboxSW();

0 comments on commit d76e770

Please sign in to comment.