fix: fix clang errors

This commit is contained in:
Jeff Cross 2015-05-28 11:08:26 -07:00
parent 9d90128463
commit 01fb8e6635
5 changed files with 23 additions and 24 deletions

View File

@ -78,8 +78,8 @@ export class TestBed {
* @return {Promise<ViewProxy>} * @return {Promise<ViewProxy>}
*/ */
createView(component: Type, createView(component: Type,
{context = null, {context = null, html = null}: {context?: any,
html = null}: {context?: any, html?: string} = {}): Promise<ViewProxy> { html?: string} = {}): Promise<ViewProxy> {
if (isBlank(component) && isBlank(context)) { if (isBlank(component) && isBlank(context)) {
throw new BaseException('You must specified at least a component or a context'); throw new BaseException('You must specified at least a component or a context');
} }

View File

@ -8,8 +8,7 @@ export function iterableChangesAsString({collection = CONST_EXPR([]), previous =
"removals: " + removals.join(', ') + "\n"; "removals: " + removals.join(', ') + "\n";
} }
export function kvChangesAsString({map, previous, additions, changes, removals}: export function kvChangesAsString({map, previous, additions, changes, removals}: {
{
map?: List<any>, map?: List<any>,
previous?: List<any>, previous?: List<any>,
additions?: List<any>, additions?: List<any>,