You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					17 lines
				
				544 B
			
		
		
			
		
	
	
					17 lines
				
				544 B
			| 
											3 years ago
										 | 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; |