Skip to content

Commit

Permalink
Add validation for Spinner.determinate property
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Grozdanov committed Sep 12, 2019
1 parent e28719d commit 89b9795
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

Expand Down

0 comments on commit 89b9795

Please sign in to comment.