Open ChangmoSung opened 2 months ago
Library version v2.0.0-alpha.3
The /enums sub-module (and the rest) don't seem to ship with type declarations, so TypeScript complains when you try to import from them:
It seems that it was resolved in this commit https://github.com/faisalman/ua-parser-js/commit/d6d8ac7cb43d610e54e1e4355da35b0e7ea76a43.
However, types were added for other submodules, but not enums.
Could you add types for enums as well?
+1 to this, it would be great to be able to use the enums from this package.
Library version v2.0.0-alpha.3
The /enums sub-module (and the rest) don't seem to ship with type declarations, so TypeScript complains when you try to import from them:
It seems that it was resolved in this commit https://github.com/faisalman/ua-parser-js/commit/d6d8ac7cb43d610e54e1e4355da35b0e7ea76a43.
However, types were added for other submodules, but not enums.
Could you add types for enums as well?