Enums cannot be used as a value when imports using the import type
declaration.
#44998
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
Bug Report
π Version Information
TypeScript v4.1.3 Node.js v10.23.1 linux/amd64
β― REPL Link
https://replit.com/@AnmSaiful/ts-import-type-enum
π» Code
π Actual behavior
It does not allow using Enum from the composed imported type and says:
π Expected behavior
It should allow using Enums from the imported type.
The text was updated successfully, but these errors were encountered: