Commit 4fd9673
committed
refactor(conf): avoid type assertion in map case branch
Simplifies the code by using the type switch variable binding instead of
performing an additional type assertion.
Signed-off-by: Ville Vesilehto <[email protected]>1 parent 192ab82 commit 4fd9673
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments