Commit 73b29a8
refactor: convert src/index.js and src/epics/trackerCapture.epics.js from Flow to TypeScript (#4360)
* refactor: convert src/index.js and src/epics/trackerCapture.epics.js from Flow to TypeScript
- Convert src/index.js to src/index.tsx with TypeScript syntax
- Convert src/epics/trackerCapture.epics.js to src/epics/trackerCapture.epics.ts with TypeScript syntax
- Remove Flow annotations and keep all existing imports and structure
- Use type assertion for combineEpics to handle mixed action payload types
- Remove original .js files after conversion
- Verify TypeScript compilation and linting pass
Co-Authored-By: [email protected] <[email protected]>
* refactor: remove original Flow files after TypeScript conversion
- Remove src/index.js (converted to src/index.tsx)
- Remove src/epics/trackerCapture.epics.js (converted to src/epics/trackerCapture.epics.ts)
- Complete the Flow to TypeScript migration for these files
Co-Authored-By: [email protected] <[email protected]>
* fix: update entrypoint in d2.config.js to point to TypeScript file
- Change entrypoint from './src/index' to './src/index.tsx'
- Resolves build failure: 'Could not resolve entrypoint ./src/index'
- Build system now correctly finds the converted TypeScript entry file
Co-Authored-By: [email protected] <[email protected]>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>1 parent 9820ec0 commit 73b29a8
3 files changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
235 | 234 | | |
236 | 235 | | |
237 | 236 | | |
238 | | - | |
| 237 | + | |
239 | 238 | | |
240 | 239 | | |
241 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
0 commit comments