Skip to content

Commit

Permalink
Remove obsolete types from some doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
raucao committed Oct 5, 2020
1 parent ae7f52d commit 3379e2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/baseclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ class BaseClient {
* Instantiate a new client, scoped to a subpath of the current client's
* path.
*
* @param {string} path - The path to scope the new client to.
* @param path - The path to scope the new client to
*
* @returns {BaseClient} A new client operating on a subpath of the current
* base path.
* @returns A new client operating on a subpath of the current base path
*/
scope (path: string): BaseClient {
return new BaseClient(this.storage, this.makePath(path));
Expand Down
6 changes: 3 additions & 3 deletions src/remotestorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,10 +673,10 @@ class RemoteStorage {
* Please use this method only for debugging and development, and choose or
* create a :doc:`data module </data-modules>` for your app to use.
*
* @param {string} path - The base directory of the BaseClient that will be
* returned (with a leading and a trailing slash)
* @param path - The base directory of the BaseClient that will be returned
* (with a leading and a trailing slash)
*
* @returns {BaseClient} A client with the specified scope (category/base directory)
* @returns A client with the specified scope (category/base directory)
*/
scope (path: string): BaseClient {
if (typeof(path) !== 'string') {
Expand Down

0 comments on commit 3379e2f

Please sign in to comment.