Initial commit
This commit is contained in:
16
themes/keepit/node_modules/csvtojson/v2/fileline.d.ts
generated
vendored
Normal file
16
themes/keepit/node_modules/csvtojson/v2/fileline.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { ParseRuntime } from "./ParseRuntime";
|
||||
/**
|
||||
* convert data chunk to file lines array
|
||||
* @param {string} data data chunk as utf8 string
|
||||
* @param {object} param Converter param object
|
||||
* @return {Object} {lines:[line1,line2...],partial:String}
|
||||
*/
|
||||
export declare function stringToLines(data: string, param: ParseRuntime): StringToLinesResult;
|
||||
export interface StringToLinesResult {
|
||||
lines: Fileline[];
|
||||
/**
|
||||
* last line which could be incomplete line.
|
||||
*/
|
||||
partial: string;
|
||||
}
|
||||
export declare type Fileline = string;
|
||||
Reference in New Issue
Block a user