Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/is-shared-array-buffer/index.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var callBound = require('call-b ind/callBound');3 var callBound = require('call-bound'); 4 4 5 /** @type {undefined | ((thisArg: SharedArrayBuffer) => number)} */ 5 6 var $byteLength = callBound('SharedArrayBuffer.prototype.byteLength', true); 6 7 … … 12 13 } 13 14 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 14 16 $byteLength(obj); 15 17 return true; … … 18 20 } 19 21 } 20 : function isSharedArrayBuffer( obj) { // eslint-disable-line no-unused-vars22 : function isSharedArrayBuffer(_obj) { // eslint-disable-line no-unused-vars 21 23 return false; 22 24 };
Note:
See TracChangeset
for help on using the changeset viewer.