From 77c7078ece5c24bdab36c28eee276b8c4cf19a22 Mon Sep 17 00:00:00 2001 From: Pratik Gaikwad Date: Thu, 21 Mar 2019 16:11:01 -0400 Subject: [PATCH] refactor(XMLCreateOptions): corrected variable names related to null nodes Per https://github.com/oozcitak/xmlbuilder-js/blob/master/CHANGELOG.md#1100---2019-02-18, `skipNullNodes` is replaced with `keepNullNodes` and `skipNullAttributes` with `keepNullAttributes` altering the functionality internally --- types/xmlbuilder/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/xmlbuilder/index.d.ts b/types/xmlbuilder/index.d.ts index 478e5c85d4..831d66f6ec 100644 --- a/types/xmlbuilder/index.d.ts +++ b/types/xmlbuilder/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for xmlbuilder // Project: https://github.com/oozcitak/xmlbuilder-js // Definitions by: Wallymathieu +// : GaikwadPratik // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export = xmlbuilder; @@ -107,8 +108,8 @@ declare namespace xmlbuilder { interface XMLCreateOptions { headless?: boolean; - skipNullNodes?: boolean; - skipNullAttributes?: boolean; + keepNullNodes?: boolean; + keepNullAttributes?: boolean; ignoreDecorators?: boolean; separateArrayItems?: boolean; noDoubleEncoding?: boolean;