feat: add TypeScript #184
Annotations
10 errors
Lint:
src/algorithm/binary-search.js#L1
Parameter 'nums' implicitly has an 'any' type.
|
Lint:
src/algorithm/binary-search.js#L1
Parameter 'target' implicitly has an 'any' type.
|
Lint:
src/algorithm/bubble-sort.js#L1
Parameter 'data' implicitly has an 'any' type.
|
Lint:
src/algorithm/letter-count.js#L5
Variable 'tempLetters' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
Lint:
src/algorithm/letter-count.js#L9
Variable 'tempLetters' implicitly has an 'any[]' type.
|
Lint:
src/algorithm/letter-count.js#L13
Variable 'tempLetters' implicitly has an 'any[]' type.
|
Lint:
src/algorithm/letter-count.js#L19
Variable 'tempLetters' implicitly has an 'any[]' type.
|
Lint:
src/algorithm/max-count-letters.js#L9
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
Lint:
src/algorithm/max-count-letters.js#L10
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
Lint:
src/algorithm/max-count-letters.js#L12
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|