Skip to content

Commit 802629a

Browse files
committed
chore: suppresses JS-0061 on toReversed polyfill
1 parent d3d4017 commit 802629a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

projects/client/src/lib/polyfills/toReversed.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Sentry: TRAKT-WEB-AW2 — older Firefox/Safari/Chrome builds reach the app and
33
// crash on uses like `calendar.toReversed()` (e.g. /history calendar ordering).
44
if (typeof Array.prototype.toReversed !== 'function') {
5+
// skipcq: JS-0061
56
Object.defineProperty(Array.prototype, 'toReversed', {
67
value<T>(this: ArrayLike<T>): T[] {
78
return Array.from(this).reverse();

0 commit comments

Comments
 (0)