1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-24 17:33:18 +00:00
musix-oss/node_modules/protobufjs/cli/lib/tsd-jsdoc/plugin.js

22 lines
541 B
JavaScript
Raw Normal View History

2020-03-03 20:30:50 +00: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;
}
});
};