[PapaParse] Comments if set are a string with the comment char. (#19852)

* Comments if set are a string with the comment char

See more: http://papaparse.com/docs#config

* Add myself to definitions authors
This commit is contained in:
João Ferreira Loff
2017-09-26 00:15:30 +01:00
committed by Mohamed Hegazy
parent a88944d8e3
commit 9769162cbb

View File

@@ -1,6 +1,8 @@
// Type definitions for PapaParse v4.1
// Project: https://github.com/mholt/PapaParse
// Definitions by: Pedro Flemming <https://github.com/torpedro>, Rain Shen <https://github.com/rainshen49>
// Definitions by: Pedro Flemming <https://github.com/torpedro>
// Rain Shen <https://github.com/rainshen49>
// João Loff <https://github.com/jfloff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace PapaParse {
@@ -69,7 +71,7 @@ declare namespace PapaParse {
preview?: number; // default: 0
encoding?: string; // default: ""
worker?: boolean; // default: false
comments?: boolean; // default: false
comments?: boolean | string; // default: false
download?: boolean; // default: false
skipEmptyLines?: boolean; // default: false
fastMode?: boolean; // default: undefined