-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Installed product versions
- Visual Studio: 2017 Professional
- Extension: snys98/TypeScriptDefinitionGenerator 2.2.0.97
Description
Class within a class has wrong namespace. Causing me lots of conflicts.
Steps to recreate
Try generate the following:
namespace Company.Areas.Blah.Dtc
{
public class SomeDtc
{
public int? PageNumber { get; set; }
public IList<Row> Rows { get; set; }
public class Row
Results in:
declare module Company.Areas.Blah.Dtc {
interface Row {
Current behavior
Ends up with a Row in the wrong namespace that can conflict with other Dtcs that also have a scoped class of Row.
Expected behavior
declare module Company.Areas.Blah.Dtc.SomeDtc {
interface Row {
Metadata
Metadata
Assignees
Labels
No labels