Skip to content

Commit b0772fa

Browse files
eslint configuation improvement
1 parent 859d5d6 commit b0772fa

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@typescript-eslint"
2121
],
2222
"rules": {
23+
"semi": ["warn", "always"],
2324
"indent": ["warn", "tab", { "SwitchCase": 1 }],
2425
"@typescript-eslint/ban-ts-ignore": "off",
2526
"@typescript-eslint/ban-types": "off",

src/resolutions/elementAtOrDefault.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {IterableTransform} from '../IterableTransform';
1111
* @param {number} index
1212
* @return {IterableTransform<T, T | undefined>}
1313
*/
14-
export default function elementAtOrDefault<T> (index: number): IterableTransform<T, T | undefined>
14+
export default function elementAtOrDefault<T> (index: number): IterableTransform<T, T | undefined>;
1515

1616
/**
1717
* Produces a function that returns the element at a specified index in a sequence or the default value if out of bounds.
@@ -21,7 +21,7 @@ export default function elementAtOrDefault<T> (index: number): IterableTransform
2121
*/
2222
export default function elementAtOrDefault<T> (
2323
index: number,
24-
defaultValue: T): IterableTransform<T, T>
24+
defaultValue: T): IterableTransform<T, T>;
2525

2626
/**
2727
* Produces a function that returns the element at a specified index in a sequence or a default value if out of bounds.

src/transforms/selectMany.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import {SelectorWithIndex} from '@tsdotnet/common-interfaces';
77
import {IterableValueTransform} from '../IterableTransform';
8-
import identity from '../identity'
8+
import identity from '../identity';
99

1010
/**
1111
* An iterable filter that merges the output of contained iterables.

0 commit comments

Comments
 (0)