Files
IM-server-new/protobuf/protobuf.js/cli/lib/tsd-jsdoc/plugin.js
T

22 lines
541 B
JavaScript
Raw Normal View History

2019-03-16 17:04:23 +08:00
"use strict";
exports.defineTags = function(dictionary) {
dictionary.defineTag("template", {
mustHaveValue: true,
canHaveType: false,
canHaveName: false,
onTagged: function(doclet, tag) {
(doclet.templates || (doclet.templates = [])).push(tag.text);
}
});
dictionary.defineTag("tstype", {
mustHaveValue: true,
canHaveType: false,
canHaveName: false,
onTagged: function(doclet, tag) {
doclet.tsType = tag.text;
}
});
};