Skip to content

Commit

Permalink
Merge pull request #223 from zcstarr/master
Browse files Browse the repository at this point in the history
fix: adds non .default export option to ts class
  • Loading branch information
zcstarr authored Jun 1, 2019
2 parents 469deca + 5d9d5f6 commit fcfc0bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/typescript/templated/exported-class.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface Options {
}
}
export default class <%= className %> {
export class <%= className %> {
public rpc: Client;
private validator: MethodCallValidator;
private openrpcDocument: OpenRPC;
Expand Down Expand Up @@ -71,4 +71,5 @@ export default class <%= className %> {
}
<% }); %>
}
export default <%= className %>;
`);

0 comments on commit fcfc0bc

Please sign in to comment.