With the following code I get an error that the find() property not exist:
var foobar = [];
var bar = { value: 123 };
var foo = { value: 456 };
foobar.push(foo, bar);
console.log(foobar.find((obj) => obj.value === 123));
If I use the same code with javascript it works without problems.
Edit: Maybe a bit dirty workaround... You can cast foobar to any and so dodge the compiler error: console.log( (foobar as any).find((obj) => obj.value === 123));