From 1c28699046a0fbbdb795682831bb5446f31138f3 Mon Sep 17 00:00:00 2001 From: Eugen Neufeld Date: Wed, 12 Dec 2018 11:20:29 +0100 Subject: [PATCH] Fixed Formatting and Typings --- packages/angular-material/src/layouts/layout.renderer.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/angular-material/src/layouts/layout.renderer.ts b/packages/angular-material/src/layouts/layout.renderer.ts index dcb373f79..ae18bc4a4 100644 --- a/packages/angular-material/src/layouts/layout.renderer.ts +++ b/packages/angular-material/src/layouts/layout.renderer.ts @@ -30,7 +30,8 @@ import { Layout, mapStateToLayoutProps, OwnPropsOfRenderer, - UISchemaElement } from '@jsonforms/core'; + UISchemaElement +} from '@jsonforms/core'; import { Subscription } from 'rxjs'; export class LayoutRenderer @@ -67,7 +68,7 @@ export class LayoutRenderer return elements; } - trackElement(_index: number, renderProp: OwnPropsOfRenderer) { + trackElement(_index: number, renderProp: OwnPropsOfRenderer): string { return renderProp ? renderProp.path + JSON.stringify(renderProp.uischema) : null; - } + } }