Skip to content

Wrong id in inheritedFrom section #1230

Closed
Closed
@SavchenkoAlexander

Description

@SavchenkoAlexander

When generating from d.ts file the resulting part of json file is

"id": 160728,
"name": "ASPxClientGaugeControl",
"kind": 128,
"kindString": "Class",
"flags": {
	"isExported": true
},
"children": [						
	{
		"id": 160760,
		"name": "Init",
		"kind": 1024,
		"kindString": "Property",
		...
		"inheritedFrom": {
			"type": "reference",
			"id": 160760,
			"name": "ASPxClientControlBase.Init"
		}
	},
	...
]

Expected Behavior

The "id" value in inheritedFrom section should be as the id of "Init" property of the ASPxClientControlBase class.

Actual Behavior

The "id" value in inheritedFrom section is the id of "Init" property of the ASPxClientGaugeControl class (the inherited member itself).

Steps to reproduce the bug

typedoc --json tsDoc.json --ignoreCompilerErrors --includeDeclarations --excludePrivate --target ES5 d:\Temp

Environment

  • Typedoc version: 0.16.11
  • Node.js version: 12.13.1
  • OS: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions