Не может принуждать `dirty к строке, потому что логический [1] не должен быть принужден.

//this happens commonly when using flow
//you need to explicitly cast your boolean to string.
console.log(`this is ${String(true)}`) =>  //this is true
tinydev