Bug report
obsidian library has type Plugin
HTML DOM API also has deprecated type Plugin
It seems dts-bundle-generator trying to avoid confusion between those two Plugin types replaces the one we use with Plugin$1, but this makes the augmentation incorrect, because there aliases are not supported
Input code
import { Plugin } from 'obsidian';
export interface Plugin2 extends Plugin {}
declare module 'obsidian' {
interface Plugin {
someProperty: string;
}
}
Expected output
// Generated by dts-bundle-generator v9.5.1
import { Plugin } from 'obsidian';
export interface Plugin2 extends Plugin {
}
declare module "obsidian" {
interface Plugin {
someProperty: string;
}
}
export {};
Actual output
// Generated by dts-bundle-generator v9.5.1
import { Plugin as Plugin$1 } from 'obsidian';
export interface Plugin2 extends Plugin$1 {
}
declare module "obsidian" {
interface Plugin$1 {
someProperty: string;
}
}
export {};
Additional context
Add any other context about the problem here (CLI options, etc)
Bug report
obsidian library has type
PluginHTML DOM API also has deprecated type
PluginIt seems
dts-bundle-generatortrying to avoid confusion between those twoPlugintypes replaces the one we use withPlugin$1, but this makes the augmentation incorrect, because there aliases are not supportedInput code
Expected output
Actual output
Additional context
Add any other context about the problem here (CLI options, etc)