diff --git a/packages/js/src/datasets.ts b/packages/js/src/datasets.ts index 75edb3e5..b4af4ddb 100644 --- a/packages/js/src/datasets.ts +++ b/packages/js/src/datasets.ts @@ -37,7 +37,7 @@ export namespace datasets { export class Service extends HTTPClient { private readonly localPath = '/v1/datasets'; - list = (): Promise<[Dataset]> => this.client.get(this.localPath); + list = (): Promise => this.client.get(this.localPath); get = (id: string): Promise => this.client.get(this.localPath + '/' + id);