gotsrpc/demo/output-commonjs-async/demo-nested.ts
2021-04-29 15:01:44 +02:00

30 lines
997 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-async/demo-nested.ts to demo/output-commonjs-async/demo.ts
import * as github_com_foomo_gotsrpc_demo_nested from './demo-nested'; // demo/output-commonjs-async/demo-nested.ts to demo/output-commonjs-async/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",
two = "two",
three = "three",
}
// 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