exercism / exercism/typescript-analyzer
Incorrect Analysis: Analyzer giving incorrect example on Two-Fer exercise
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 6
- Avg merge
- 11h 33m
- Merged PRs (30d)
- 12
Description
**Describe the incorrectness**
The analyzer commented on my solution that it could be helpful to use string interpolation. In the example it provides it show this: `"Hello there \${firstName}, I will give you \${calculateInventory()} apples."`. However, this does not work. The only way I get it to work is by using backticks (\`) instead of single or double quotes. Even when escaping the $, running `yarn test` fails.
**Which exercise**
Two Fer
**Source file(s)**
```typescript
two-fer.ts
```
**Expected analysis**
I expect the example to use backticks instead of double quotes.
**Additional context**
Screenshot of my code and the output of running `yarn test`

Contributor guide
Assessment
This issue has not been assessed yet.