rust2.0 #1
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/jrpcgen",
|
"name": "@hibas123/jrpcgen",
|
||||||
"version": "1.2.14",
|
"version": "1.2.16",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"packageManager": "yarn@3.1.1",
|
"packageManager": "yarn@3.1.1",
|
||||||
|
@ -304,7 +304,7 @@ export class TypescriptTarget extends CompileTarget {
|
|||||||
this.writeFormattedFile(
|
this.writeFormattedFile(
|
||||||
"service_server.ts",
|
"service_server.ts",
|
||||||
this.generateImport(
|
this.generateImport(
|
||||||
"{ RequestObject, ResponseObject, ErrorCodes, Logging }",
|
"{ type RequestObject, type ResponseObject, ErrorCodes, Logging }",
|
||||||
"./service_base"
|
"./service_base"
|
||||||
) +
|
) +
|
||||||
this.generateImport(" { VerificationError }", "./ts_base") +
|
this.generateImport(" { VerificationError }", "./ts_base") +
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//@template-ignore
|
//@template-ignore
|
||||||
import { VerificationError } from "./ts_base";
|
import { VerificationError } from "./ts_base";
|
||||||
//@template-ignore
|
//@template-ignore
|
||||||
import { RequestObject, ResponseObject, ErrorCodes, Logging } from "./ts_service_base";
|
import { type RequestObject, type ResponseObject, ErrorCodes, Logging } from "./ts_service_base";
|
||||||
|
|
||||||
|
|
||||||
export class Service<T> {
|
export class Service<T> {
|
||||||
|
Loading…
Reference in New Issue
Block a user