We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8fad15 commit cfb0340Copy full SHA for cfb0340
apps/fretonator-web/src/app/common/fret-map/fret-map.service.ts
@@ -435,14 +435,14 @@ export class FretMapService {
435
}
436
437
const similarModes = modeMap
438
- .map((noteObject, index) => {
439
- return {
+ .map((noteObject, index) => (
+ {
440
noteDisplayName: noteObject.displayName,
441
note: noteObject.name,
442
mode: StandardModePatterns[firstModeInPattern + index],
443
noteExtender: this.getNoteExtenderStringFromNoteObject(noteObject)
444
- } as unknown as SimilarMode;
445
- });
+ }
+ ));
446
447
similarModes.shift();
448
return similarModes;
0 commit comments