Closed
Description
In the extendedTypes
of Props2
I get something similar to the below, but there is no id: 88
in the generated JSON.
"extendedTypes": [{
"type": "reflection",
"declaration": {
"id": 88,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"sources": [{
"fileName": "fileName",
"line": 14,
"character": 43
}]
}
}],
- I have checked issues with bug label and found no duplicates
Expected Behavior
I get only c:number
as props in Props2
.
Actual Behavior
Props2
to have a: string
, b: string
and c: number
as its interface.
Steps to reproduce the bug
export interface Prop1 {
a: string;
b: string;
c: string;
}
export interface Prop2 extends Omit<Prop1, "c"> {
c: number;
}
typedoc --out typedoc ./file.tsx --theme minimal --mode modules
Environment
- Typedoc version: 0.15.0
- Node.js version: v11.15.0
- OS: MacOS 10.14.6
Metadata
Metadata
Assignees
Labels
No labels