cmd-johnson / deno-reflect-metadata

A Deno-compatible copy of the TypeScript Metadata Reflection API my Microsoft
Apache License 2.0
11 stars 4 forks source link

_dec or decorator is not a function #3

Open DreamTexX opened 3 years ago

DreamTexX commented 3 years ago

When bundling your example or creating an executable it says: error: Uncaught TypeError: _dec is not a function

When compiling my own code it tells me: error: TypeError: decorator is not a function

Even thought when using deno run everything works fine. (beside that the example script returns 'undefined'). Deno Version: 1.6.3. TSConfig is the same as in this repo.

DreamTexX commented 3 years ago

Its the same issue as https://github.com/cmd-johnson/deno-reflect-metadata/issues/1#issue-770045909 The fix you provided does not seem to work