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

Failed to parse sorce map #158

Closed
vmaksym opened this issue Jun 17, 2022 · 1 comment
Closed

Failed to parse sorce map #158

vmaksym opened this issue Jun 17, 2022 · 1 comment

Comments

@vmaksym
Copy link

vmaksym commented Jun 17, 2022

Description: Got an error while run application: Failed to parse source map from ... file: Error: ENOENT: no such file or directory.

Environment: React 18, typescript, create-react-app

@tooleks
Copy link
Owner

tooleks commented Jun 21, 2022

@vmaksym Fixed in 2.1.1. Thanks for reporting!

Also, explicitly added Anthroponym and Gender types to public API, so now it's possible to use them in the client code:

import { Anthroponym, Gender, inVocative } from 'shevchenko';

const anthroponym: Anthroponym = {
  gender: Gender.Male,
  firstName: 'Тарас',
  middleName: 'Григорович',
  lastName: 'Шевченко'
};

const result: Anthroponym = inVocative(anthroponym);

console.log(result); // { gender: "male", firstName: "Тарасе", middleName: "Григоровичу", lastName: "Шевченку" }

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