Skip to content

Commit

Permalink
Fix import in example for lib dir
Browse files Browse the repository at this point in the history
  • Loading branch information
will-stone committed Dec 26, 2021
1 parent 3f9583b commit 8b47bb2
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/isCompactCase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Determines if input is a string that does not contain whitespaces.
* @example
```ts
import isCompactCase from 'tings/isCompactCase'
import isCompactCase from 'tings/lib/isCompactCase'
isCompactCase('thisiscompact') // true
isCompactCase('this is not compact') // false
Expand Down
2 changes: 1 addition & 1 deletion src/isLowerCase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Determines if input is a string containing no UPPERcase characters.
* @example
```ts
import isLowerCase from 'tings/isLowerCase'
import isLowerCase from 'tings/lib/isLowerCase'
isLowerCase('this is lower') // true
isLowerCase('This is not LOWER') // false
Expand Down
2 changes: 1 addition & 1 deletion src/isUniq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Will return true for any input that's not an array.
* @example
```ts
import isUniq from 'tings/isUniq'
import isUniq from 'tings/lib/isUniq'
isUniq([1, 2, 3]) // true
isUniq([1, 1, 2]) // false
Expand Down
2 changes: 1 addition & 1 deletion src/sleep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import toNumberAlways from './toNumberAlways'
* Pauses the current function.
* @example
```ts
import sleep from 'tings/sleep'
import sleep from 'tings/lib/sleep'
await sleep(2000) // sleeps for 2 seconds
```
Expand Down
2 changes: 1 addition & 1 deletion src/toCompactCase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Removes all whitespace characters from a string.
* @example
```ts
import toCompactCase from 'tings/toCompactCase'
import toCompactCase from 'tings/lib/toCompactCase'
toCompactCase('this is text') // thisistext
toCompactCase('someTEXT') // someTEXT
Expand Down
2 changes: 1 addition & 1 deletion src/toLetters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Removes all non-alphabetical characters from a string.
* @example
```ts
import toLetters from 'tings/toLetters'
import toLetters from 'tings/lib/toLetters'
toLetters('this is text') // thisistext
toLetters('123-Text!!!') // Text
Expand Down
2 changes: 1 addition & 1 deletion src/toNumberAlways.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Will return the given input as a number, if it cannot be converted, it will return 0.
* @example
```ts
import toNumberAlways from 'tings/toNumberAlways'
import toNumberAlways from 'tings/lib/toNumberAlways'
toNumberAlways('this is text') // 0
toNumberAlways('3') // 3
Expand Down
2 changes: 1 addition & 1 deletion src/toOrdinal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import toNumberAlways from './toNumberAlways'
* - notANumber -> 0th
* @example
```ts
import toOrdinal from 'tings/toOrdinal'
import toOrdinal from 'tings/lib/toOrdinal'
toOrdinal('this is text') // 0th
toOrdinal('3') // 3rd
Expand Down

0 comments on commit 8b47bb2

Please sign in to comment.