Ignore:
Timestamp:
01/21/25 03:08:24 (2 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/is-shared-array-buffer/index.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
     5/** @type {undefined | ((thisArg: SharedArrayBuffer) => number)} */
    56var $byteLength = callBound('SharedArrayBuffer.prototype.byteLength', true);
    67
     
    1213                }
    1314                try {
     15                        // @ts-expect-error TS can't figure out this closed-over variable is non-nullable, and it's fine that `obj` might not be a SAB
    1416                        $byteLength(obj);
    1517                        return true;
     
    1820                }
    1921        }
    20         : function isSharedArrayBuffer(obj) { // eslint-disable-line no-unused-vars
     22        : function isSharedArrayBuffer(_obj) { // eslint-disable-line no-unused-vars
    2123                return false;
    2224        };
Note: See TracChangeset for help on using the changeset viewer.