Skip to content

Commit

Permalink
Use TypeScript in all README examples
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jul 19, 2023
1 parent 81bd209 commit 5141f8e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@ Check if a number is a valid Numer Identyfikacji Podatkowej (NIP).

## Examples

```js
> isValidNIP('5252611332');
< true
```ts
isValidNIP('5252611332'); // true

> isValidNIP('525-261-13-32');
< true
isValidNIP('525-261-13-32'); // true

> isValidNIP('525-26-11-332');
< true
isValidNIP('525-26-11-332'); // true
```

## License
Expand Down

0 comments on commit 5141f8e

Please sign in to comment.