Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(table): improve typescript defs #495

Merged
merged 10 commits into from
Jan 21, 2019
Merged

refactor(table): improve typescript defs #495

merged 10 commits into from
Jan 21, 2019

Conversation

callmehiphop
Copy link
Contributor

@callmehiphop callmehiphop commented Jan 11, 2019

Relates to #223

  • Tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 11, 2019
import {PartialResultStream, Row} from './partial-result-stream';
import {TransactionOptions} from './transaction';

type Key = string|string[];

This comment was marked as spam.

This comment was marked as spam.

@@ -38,25 +67,10 @@ import {TransactionRequest} from './transaction-request';
* const database = instance.database('my-database');
* const table = database.table('my-table');
*/
class Table extends TransactionRequest {

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

name: string;
constructor(database, name) {
super();
/**

This comment was marked as spam.

This comment was marked as spam.

}
return TransactionRequest.prototype.createReadStream.call(
this, this.name, query);
createReadStream(request: ReadRequest, options?: TransactionOptions):

This comment was marked as spam.

This comment was marked as spam.

@callmehiphop callmehiphop added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 17, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 17, 2019
@JustinBeckwith JustinBeckwith merged commit 660388f into googleapis:master Jan 21, 2019
@callmehiphop callmehiphop deleted the dg--table-types branch January 21, 2019 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants