Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Remove {} from the default value for props
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 7, 2021
1 parent 3c11348 commit b4a58f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/select-list-view.ts
Expand Up @@ -134,9 +134,7 @@ module.exports = class SelectListView {
})
}

update (props: SelectListProperties | {} = {}) {
/** TODO: default value {} */

update (props: SelectListProperties) {
let shouldComputeItems = false

if ('items' in props) {
Expand Down

0 comments on commit b4a58f7

Please sign in to comment.