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

TraceKit Report is not exported from package #96

Open
saranRe opened this issue Sep 6, 2022 · 3 comments
Open

TraceKit Report is not exported from package #96

saranRe opened this issue Sep 6, 2022 · 3 comments

Comments

@saranRe
Copy link

saranRe commented Sep 6, 2022

import * as TraceKit  from 'tracekit';

TraceKit.report.subscribe(tracekitErrorHandler)

I added tracekit in my ts file. I try to run that file, I got error like below

report is not exported by ../../node_modules/tracekit/tracekit.js
80:                 });
81:             };
82:             TraceKit.report.subscribe(tracekitErrorHandler);
@niemyjski
Copy link
Collaborator

That looks right, if you log out the TraceKit imported object what do you see? I have never used TraceKit.report.subscribe

@saranRe
Copy link
Author

saranRe commented Sep 9, 2022

This issue happens in my typescript file have any idea for this error?

@niemyjski
Copy link
Collaborator

@saranRe Can you add a test for this, might just need to update the typescript definition

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

2 participants