@quip/dts-bundle-generator
Advanced tools
Comparing version 6.2.3 to 6.2.4
@@ -1,2 +0,2 @@ | ||
// Generated by dts-bundle-generator v6.2.3 | ||
// Generated by dts-bundle-generator v6.2.4 | ||
@@ -3,0 +3,0 @@ export interface CompilationOptions { |
@@ -1,2 +0,2 @@ | ||
// Generated by dts-bundle-generator v6.2.3 | ||
// Generated by dts-bundle-generator v6.2.4 | ||
@@ -3,0 +3,0 @@ export interface CompilationOptions { |
@@ -190,3 +190,6 @@ "use strict"; | ||
function needStripDeclareKeyword(statement, options) { | ||
return ts.isEnumDeclaration(statement) && !!options.reDefineConstEnum; | ||
var _a; | ||
return Boolean(ts.isEnumDeclaration(statement) && | ||
((_a = statement.modifiers) === null || _a === void 0 ? void 0 : _a.find(function (mod) { return mod.kind === ts.SyntaxKind.ConstKeyword; })) && | ||
options.reDefineConstEnum); | ||
} | ||
@@ -193,0 +196,0 @@ // eslint-disable-next-line complexity |
{ | ||
"name": "@quip/dts-bundle-generator", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"description": "DTS Bundle Generator (Quip)", | ||
@@ -5,0 +5,0 @@ "main": "dist/bundle-generator.js", |
113350
2117