typedoc-plugin-typescript-declaration
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -123,9 +123,9 @@ 'use strict'; | ||
AddKeysTagOption[AddKeysTagOption["off"] = 0] = "off"; | ||
AddKeysTagOption[AddKeysTagOption["notexists"] = 1] = "notexists"; | ||
AddKeysTagOption[AddKeysTagOption["force"] = 2] = "force"; | ||
AddKeysTagOption[AddKeysTagOption["add"] = 1] = "add"; | ||
AddKeysTagOption[AddKeysTagOption["update"] = 2] = "update"; | ||
})(AddKeysTagOption || (AddKeysTagOption = {})); | ||
const addKeysOptionMapping = { | ||
off: AddKeysTagOption.off, | ||
notexists: AddKeysTagOption.notexists, | ||
force: AddKeysTagOption.force, | ||
add: AddKeysTagOption.add, | ||
update: AddKeysTagOption.update, | ||
}; | ||
@@ -140,3 +140,3 @@ let KeyOfCommentConverter = class KeyOfCommentConverter extends components$1.ConverterComponent { | ||
const resolver = KeyOfCommentResolver.instance(); | ||
const override = this.application.options.getValue('keyofComments') === AddKeysTagOption.force; | ||
const override = this.application.options.getValue('keyofComments') === AddKeysTagOption.update; | ||
Object.values(context.project.reflections) | ||
@@ -1024,4 +1024,4 @@ .filter(item => resolver.shouldResolveKeys(context.project, item)) | ||
type: declaration.ParameterType.Map, | ||
help: 'Expands the values of the keyof operator and adds a tag, default is force which overrides existing values', | ||
defaultValue: AddKeysTagOption.force, | ||
help: 'Expands the values of the keyof operator and adds a tag, default is update which adds and updates keys', | ||
defaultValue: AddKeysTagOption.update, | ||
map: addKeysOptionMapping, | ||
@@ -1028,0 +1028,0 @@ }); |
{ | ||
"name": "typedoc-plugin-typescript-declaration", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Typedoc plugin to render to typescript declaration file", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47020