mirror of
https://github.com/foomo/gotsrpc.git
synced 2025-10-16 12:35:35 +00:00
30 lines
973 B
TypeScript
30 lines
973 B
TypeScript
/* eslint:disable */
|
|
// hello commonjs - we need some imports - sorted in alphabetical order, by go package
|
|
import * as github_com_foomo_gotsrpc_demo from './demo'; // demo/output-commonjs/demo-nested.ts to demo/output-commonjs/demo.ts
|
|
import * as github_com_foomo_gotsrpc_demo_nested from './demo-nested'; // demo/output-commonjs/demo-nested.ts to demo/output-commonjs/demo-nested.ts
|
|
// github.com/foomo/gotsrpc/demo/nested.Amount
|
|
export type Amount = number
|
|
// github.com/foomo/gotsrpc/demo/nested.Any
|
|
export type Any = any
|
|
// github.com/foomo/gotsrpc/demo/nested.CustomTypeNested
|
|
export enum CustomTypeNested {
|
|
One = "one",
|
|
Three = "three",
|
|
Two = "two",
|
|
}
|
|
// github.com/foomo/gotsrpc/demo/nested.Nested
|
|
export interface Nested {
|
|
Name:string;
|
|
Any:any;
|
|
AnyMap:{[index:string]:any};
|
|
AnyList:any[];
|
|
SuperNestedString:{
|
|
Ha:number;
|
|
};
|
|
SuperNestedPtr?:{
|
|
Bla:string;
|
|
};
|
|
}
|
|
// github.com/foomo/gotsrpc/demo/nested.True
|
|
export type True = boolean
|
|
// end of common js
|