Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arnidan committed Oct 15, 2019
1 parent 6ad45ab commit 8d55f2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ npm install sex-by-russian-name
yarn add sex-by-russian-name
```

## Example
## Typescript Example

```typescript
import {SexByRussianName} from 'sex-by-russian-name';

```js
const instance = new SexByRussianName();

instance.getSex({firstName: 'Иван', lastName: 'Иванов', patronymic: 'Иванович'});
Expand Down

0 comments on commit 8d55f2d

Please sign in to comment.