Add missing import to C# output

This commit is contained in:
Fabian Stamm 2022-02-13 23:50:45 +00:00
parent b5ca061136
commit 7cc2a27420
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@hibas123/jrpcgen",
"version": "1.0.26",
"version": "1.0.27",
"main": "lib/index.js",
"license": "MIT",
"packageManager": "yarn@3.1.1",

View File

@ -129,6 +129,7 @@ export class CSharpTarget extends CompileTarget<{ csharp_namespace: string }> {
a(0, `using System.Text.Json.Serialization;`);
a(0, `using System.Text.Json.Nodes;`);
a(0, `using System.Threading.Tasks;`);
a(0, `using System.Collections.Generic;`);
a(0, ``);
a(0, `namespace ${this.namespace};`);
a(0, ``);
@ -215,6 +216,7 @@ export class CSharpTarget extends CompileTarget<{ csharp_namespace: string }> {
a(0, `using System.Text.Json.Serialization;`);
a(0, `using System.Text.Json.Nodes;`);
a(0, `using System.Threading.Tasks;`);
a(0, `using System.Collections.Generic;`);
a(0, ``);
a(0, `namespace ${this.namespace};`);
a(0, ``);