Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'tslib' does not provide an export named '__decorate' #147

Open
shockdev04 opened this issue Mar 26, 2021 · 3 comments
Open

'tslib' does not provide an export named '__decorate' #147

shockdev04 opened this issue Mar 26, 2021 · 3 comments

Comments

@shockdev04
Copy link

import { __decorate, __metadata } from "tslib";
         ^^^^^^^^^^
SyntaxError: The requested module 'tslib' does not provide an export named '__decorate'
@antongolub
Copy link

In esm mode, right?

@jogibear9988
Copy link

maybe related? #161

@jakebailey
Copy link
Member

With index.mjs and tslib at both v1 or v2, I cannot reproduce this:

import { __decorate, __metadata } from "tslib";

console.log(__decorate);
console.log(__metadata);

Prints:

[Function: __decorate]
[Function: __metadata]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants