From 89b9795523d684470d9375fd5047cbbc4738dfbb Mon Sep 17 00:00:00 2001 From: Nikolay Grozdanov Date: Thu, 12 Sep 2019 10:34:08 -0400 Subject: [PATCH] Add validation for Spinner.determinate property --- .../lumin-runtime/elements/builders/loading-spinner-builder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/lumin-runtime/elements/builders/loading-spinner-builder.js b/src/platform/lumin-runtime/elements/builders/loading-spinner-builder.js index 51d7c82..5fedd08 100644 --- a/src/platform/lumin-runtime/elements/builders/loading-spinner-builder.js +++ b/src/platform/lumin-runtime/elements/builders/loading-spinner-builder.js @@ -50,6 +50,7 @@ export class LoadingSpinnerBuilder extends UiNodeBuilder { PropertyDescriptor.throwIfNotTypeOf(newProperties.resourceId, 'number'); PropertyDescriptor.throwIfNotTypeOf(newProperties.resourcePath, 'string'); PropertyDescriptor.throwIfNotTypeOf(newProperties.height, 'number'); + PropertyDescriptor.throwIfNotTypeOf(newProperties.determinate, 'boolean'); } }