mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Renamed test directory to match the query name
Co-Authored-By: Asger F <316427+asgerf@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Store, select } from '@ngrx/store';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
selector: 'minimal-example',
|
||||
template: `
|
||||
<div>{{ value$ | async }}</div>
|
||||
`
|
||||
})
|
||||
export class MinimalExampleComponent {
|
||||
value$: Observable<any>;
|
||||
|
||||
constructor(private store: Store<any>) {
|
||||
this.value$ = this.store.pipe(select('someSlice'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user