You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by do...@apache.org on 2022/04/19 01:15:10 UTC
[arrow] branch master updated: MINOR: [JS] Fix docs style
This is an automated email from the ASF dual-hosted git repository.
domoritz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new a23c6dd5b4 MINOR: [JS] Fix docs style
a23c6dd5b4 is described below
commit a23c6dd5b404cfcabf70762d693720b849d9501b
Author: Dominik Moritz <do...@gmail.com>
AuthorDate: Mon Apr 18 21:15:01 2022 -0400
MINOR: [JS] Fix docs style
Closes #12813 from domoritz/dom/docs-fixes
Authored-by: Dominik Moritz <do...@gmail.com>
Signed-off-by: Dominik Moritz <do...@gmail.com>
---
js/src/table.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/src/table.ts b/js/src/table.ts
index 6ae0a9e1b4..4f7dec182f 100644
--- a/js/src/table.ts
+++ b/js/src/table.ts
@@ -239,7 +239,7 @@ export class Table<T extends TypeMap = any> {
/**
* Returns a string representation of the Table rows.
*
- * @returns A string representation of the Table rows.
+ * @returns A string representation of the Table rows.
*/
public toString() {
return `[\n ${this.toArray().join(',\n ')}\n]`;
@@ -259,7 +259,7 @@ export class Table<T extends TypeMap = any> {
/**
* Return a zero-copy sub-section of this Table.
*
- * @param start The beginning of the specified portion of the Table.
+ * @param begin The beginning of the specified portion of the Table.
* @param end The end of the specified portion of the Table. This is exclusive of the element at the index 'end'.
*/
public slice(begin?: number, end?: number): Table<T> {
@@ -427,7 +427,7 @@ export function makeTable<I extends Record<string | number | symbol, TypedArray>
* })
* ```
*
- * @param Input an object of typed arrays or JavaScript arrays.
+ * @param input Input an object of typed arrays or JavaScript arrays.
* @returns A new Table.
*/
export function tableFromArrays<I extends Record<string | number | symbol, TypedArray | BigIntArray | readonly unknown[]>>(input: I): Table<{ [P in keyof I]: ArrayDataType<I[P]> }> {