File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ const audioUrls: ExampleAudio[] = [
27
27
} )
28
28
export class AppComponent {
29
29
exampleAudio : ExampleAudio [ ] = audioUrls ;
30
- audio : ExampleAudio = audioUrls [ 0 ] ;
31
30
selectedAudio : ExampleAudio = audioUrls [ 0 ] ;
32
31
33
32
onSelect ( audio : ExampleAudio ) : void {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class WaveformViewComponent implements AfterViewInit {
17
17
@ViewChild ( "zoomviewContainer" ) zoomview : ElementRef = { } as ElementRef ;
18
18
@ViewChild ( "overviewContainer" ) overview : ElementRef = { } as ElementRef ;
19
19
@ViewChild ( "audio" ) audioElement : ElementRef = { } as ElementRef ;
20
- peaks : PeaksInstance | undefined = undefined ;
20
+ peaks ? : PeaksInstance ;
21
21
22
22
constructor ( ) {
23
23
}
You can’t perform that action at this time.
0 commit comments