ryan %!s(int64=7) %!d(string=hai) anos
pai
achega
6494c17cfa
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      packages/grafana-ui/src/utils/processTableData.ts

+ 3 - 3
packages/grafana-ui/src/utils/processTableData.ts

@@ -84,17 +84,17 @@ function makeColumns(values: any[]): Column[] {
 }
 
 /**
- * Convert text into a valid TableData object
+ * Convert CSV text into a valid TableData object
  *
  * @param text
  * @param config
- * @param details, if exists the result will be filled with parse details
+ * @param details, if exists the result will be filled with debugging details
  */
 export function parseCSV(text: string, config?: ParseConfig, details?: ParseDetails): TableData {
   const results = Papa.parse(text, { ...config, dynamicTyping: true, skipEmptyLines: true });
   const { data, meta, errors } = results;
 
-  // Fill the parse details fro debugging
+  // Fill the parse details for debugging
   if (details) {
     details.errors = errors;
     details.meta = meta;