samsam2310 / zbar.wasm

A wasm build of C/C++ ZBar barcode scanning library.
GNU Lesser General Public License v2.1
230 stars 29 forks source link

The ZBar Symbol type may conflict with the built-in JavaScript Symbol object #19

Open undecaf opened 2 years ago

undecaf commented 2 years ago

When using the ZBar Symbol type in TypeScript, the IDE may assume that this is the built-in JavaScript Symbol object.

Although this can be worked around, I would suggest to rename Symbol to ZBarSymbol.

samsam2310 commented 2 years ago

Sounds reasonable. We should avoid to use built-in type name.