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

Suggestion for typescript/podcast-player #78

Open
kubycsolutions opened this issue Dec 4, 2021 · 0 comments
Open

Suggestion for typescript/podcast-player #78

kubycsolutions opened this issue Dec 4, 2021 · 0 comments

Comments

@kubycsolutions
Copy link

kubycsolutions commented Dec 4, 2021

Suggested change, since what's there (commented out here) wasn't being accepted for me:

// const episodesJSON = require('./episodes.json');
import * as episodesJSON from './episodes.json'

The alternative seems to be to turn esModuleInterop on in tsconfig.json, and I'd worry about that having other effects.

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

1 participant