You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When transpiling in typescript, the 'if' statement:
if (typeof dest === Array)
returns the error:
TS2367: This condition will always return 'false' since the types 'string' and 'ArrayConstructor' have no overlap.
I believe the statement should be changed to
if (dest instanceof Array)
as is done elsewhere in the code.
The text was updated successfully, but these errors were encountered:
angular-pdf-viewer/js/angular-pdf-viewer.js
Line 84 in 6a80e19
When transpiling in typescript, the 'if' statement:
if (typeof dest === Array)
returns the error:
TS2367: This condition will always return 'false' since the types 'string' and 'ArrayConstructor' have no overlap.
I believe the statement should be changed to
if (dest instanceof Array)
as is done elsewhere in the code.
The text was updated successfully, but these errors were encountered: