Add missing import to C# output
This commit is contained in:
parent
7cc2a27420
commit
3ececad91b
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hibas123/jrpcgen",
|
||||
"version": "1.0.27",
|
||||
"version": "1.0.28",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"packageManager": "yarn@3.1.1",
|
||||
|
@ -125,6 +125,7 @@ export class CSharpTarget extends CompileTarget<{ csharp_namespace: string }> {
|
||||
t.forEach((l) => lines.push(" ".repeat(i) + l.trim()));
|
||||
};
|
||||
|
||||
a(0, `using System;`);
|
||||
a(0, `using System.Text.Json;`);
|
||||
a(0, `using System.Text.Json.Serialization;`);
|
||||
a(0, `using System.Text.Json.Nodes;`);
|
||||
@ -212,6 +213,7 @@ export class CSharpTarget extends CompileTarget<{ csharp_namespace: string }> {
|
||||
t.forEach((l) => lines.push(" ".repeat(i) + l.trim()));
|
||||
};
|
||||
|
||||
a(0, `using System;`);
|
||||
a(0, `using System.Text.Json;`);
|
||||
a(0, `using System.Text.Json.Serialization;`);
|
||||
a(0, `using System.Text.Json.Nodes;`);
|
||||
|
Loading…
Reference in New Issue
Block a user