TsCustomBaseAttribute doesn't generate 'import-part'
See original GitHub issueFrom @salmin89 on June 21, 2018 8:58
SomeClass.cs
using TypeGen.Core.TypeAnnotations;
namespace MyProject.Types
{
[TsIgnoreBase]
[TsCustomBase("CustomBase")]
[ExportTsInterface]
public class SomeClass: CustomBase{ }
}
CustomBase.cs
using TypeGen.Core.TypeAnnotations;
namespace MyProject.Types
{
[ExportTsInterface]
public class CustomBase
{
public string name { get; set; }
public string url { get; set; }
[TsOptional]
public string thumbnail { get; set; }
}
}
SomeClass.ts
/**
* This is a TypeGen auto-generated file.
* Any changes made to this file can be lost when this file is regenerated.
*/
export interface SomeClass extends CustomBase{
}
I’m missing import { CustomBase} from "./CustomBase";
from SomeClass.ts
Copied from original issue: jburzynski/TypeGenDocs#1
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll make next release in a couple of days and I’ll add
ImportPath
toCustomBaseAttribute
. I’ll keep you updated on the progress in this issue.closed due to inactivity