From 9769162cbbc61cf93f4e4c85c9effb81c623bb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ferreira=20Loff?= Date: Tue, 26 Sep 2017 00:15:30 +0100 Subject: [PATCH] [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 --- types/papaparse/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/papaparse/index.d.ts b/types/papaparse/index.d.ts index bc1e1645a0..4365ac38ac 100644 --- a/types/papaparse/index.d.ts +++ b/types/papaparse/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for PapaParse v4.1 // Project: https://github.com/mholt/PapaParse -// Definitions by: Pedro Flemming , Rain Shen +// Definitions by: Pedro Flemming +// Rain Shen +// João Loff // 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