fix: explain why tslint rule is disabled
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219976511 https://github.com/0xProject/0x-monorepo/pull/1004
This commit is contained in:
@@ -468,6 +468,7 @@ export class TypeDocUtils {
|
||||
methodIfExists = this._convertMethod(entity.declaration, isConstructor, sectionName);
|
||||
} else if (entity.type === TypeDocTypes.Tuple) {
|
||||
tupleElementsIfExists = _.map(entity.elements, el => {
|
||||
// the following line is required due to an open tslint issue, https://github.com/palantir/tslint/issues/3540
|
||||
// tslint:disable-next-line:no-unnecessary-type-assertion
|
||||
return { name: el.name, typeDocType: el.type as TypeDocTypes };
|
||||
});
|
||||
|
Reference in New Issue
Block a user