> [email protected] test /home/rof/src/github.com/greybax/cyrillic-to-translit-js
> tsc && tslint *.ts && mocha && npm run size
cyrillic-to-translit-js-tests.ts:4:5 - error TS2351: This expression is not constructable.
Type 'typeof import("/home/rof/src/github.com/greybax/cyrillic-to-translit-js/CyrillicToTranslit")' has no construct signatures.
4 new CyrillicToTranslit().transform("привет мир!");
~~~~~~~~~~~~~~~~~~
cyrillic-to-translit-js-tests.ts:5:5 - error TS2351: This expression is not constructable.
Type 'typeof import("/home/rof/src/github.com/greybax/cyrillic-to-translit-js/CyrillicToTranslit")' has no construct signatures.
5 new CyrillicToTranslit().transform("привет мир!", "_");
~~~~~~~~~~~~~~~~~~
cyrillic-to-translit-js-tests.ts:6:5 - error TS2351: This expression is not constructable.
Type 'typeof import("/home/rof/src/github.com/greybax/cyrillic-to-translit-js/CyrillicToTranslit")' has no construct signatures.
6 new CyrillicToTranslit({ preset: "uk" }).transform("привіт світе!", "_");
~~~~~~~~~~~~~~~~~~
Found 3 errors.
npm ERR! Test failed. See above for more details.