diff --git a/templates/typescript/templated/exported-class.template.ts b/templates/typescript/templated/exported-class.template.ts index f64c3cb3..5edcb519 100644 --- a/templates/typescript/templated/exported-class.template.ts +++ b/templates/typescript/templated/exported-class.template.ts @@ -17,7 +17,7 @@ export interface Options { } } -export default class <%= className %> { +export class <%= className %> { public rpc: Client; private validator: MethodCallValidator; private openrpcDocument: OpenRPC; @@ -71,4 +71,5 @@ export default class <%= className %> { } <% }); %> } +export default <%= className %>; `);