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

Only a void function can be called with the 'new' keyword #164

Open
sapabg opened this issue Jul 13, 2022 · 1 comment
Open

Only a void function can be called with the 'new' keyword #164

sapabg opened this issue Jul 13, 2022 · 1 comment

Comments

@sapabg
Copy link

sapabg commented Jul 13, 2022

import CyrillicToTranslit from 'cyrillic-to-translit-js';
const cyrillicToTranslit = new CyrillicToTranslit();

second row throws "Only a void function can be called with the 'new' keyword"

@rjombo
Copy link

rjombo commented Apr 11, 2023

bump

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