Skip to content

Commit

Permalink
docs: support method overrides (#5405)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Feb 10, 2021
1 parent dca70ab commit d39d2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/doclint/api_parser.js
Expand Up @@ -104,7 +104,7 @@ class ApiParser {
}
const clazz = this.classes.get(match[2]);
const existingMember = clazz.membersArray.find(m => m.name === name && m.kind === member.kind);
if (existingMember) {
if (existingMember && !existingMember.langs.only) {
for (const lang of member.langs.only) {
existingMember.langs.types = existingMember.langs.types || {};
existingMember.langs.types[lang] = returnType;
Expand Down

0 comments on commit d39d2ea

Please sign in to comment.