Nit: add `@type {boolean}` annotation