update on TypeScript 9.1 (bool changed to boolean