Incorrect warning about name collisions
In my StackNetwork.ts, I have this code:
interface Options {
stackName: string;
config: NetworkConfig;
}
export { Options as StackNetworkOptions };
In my StackService.ts, I have this code:
interface Options {
stackName: string;
config: ServiceConfig;
}
export { Options as StackServiceOptions };
But I still get these warnings:
WARN StackNetwork.ts:6:1
> P:/modular/infrastructure-services/src/constructs/docker-stack/StackNetwork.ts:6:1
> detect same name of export statement: "Options"
WARN StackService.ts:7:1
> P:/modular/infrastructure-services/src/constructs/docker-stack/StackService.ts:7:1
> detect same name of export statement: "Options"
Thank you for your report. I suspect this is caused by the symbol table not recognising aliases. You can either fix it yourself and send me a PR, or you can give me some time(I've been busy with work recently, so this may take a while) to fix it. Thank you.
Unfortunately, I can't provide a PR at this time.
@dhilgarth I'm busy with other things right now, so it'll be a while before I can fix this, thank you.
Sure, don't worry!
@dhilgarth This issue was fixed in v2.4.5, thank you!
I can confirm it works now, thanks!