remove trailing comma in ts angular template (#5563)

This commit is contained in:
wing328 2017-05-05 17:05:45 +08:00 committed by GitHub
parent b62928ff88
commit 167cbe9726
2 changed files with 3 additions and 3 deletions

View File

@ -5,5 +5,5 @@ export * from './{{ classFilename }}';
import { {{ classname }} } from './{{ classFilename }}';
{{/operations}}
{{/apis}}
export const APIS = [{{#apis}}{{#operations}}{{ classname }}, {{/operations}}{{/apis}}];
{{/apiInfo}}
export const APIS = [{{#apis}}{{#operations}}{{ classname }}{{/operations}}{{^-last}}, {{/-last}}{{/apis}}];
{{/apiInfo}}

View File

@ -4,4 +4,4 @@ export * from './StoreApi';
import { StoreApi } from './StoreApi';
export * from './UserApi';
import { UserApi } from './UserApi';
export const APIS = [PetApi, StoreApi, UserApi, ];
export const APIS = [PetApi, StoreApi, UserApi];