This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Http, ResponseContentType} from '@angular/http'; | |
import * as Schema from 'api_schemas_with_bazel/schema/car_ts_proto'; | |
import {bindNodeCallback, Observable} from 'rxjs'; | |
import {toObservableServiceMethod} from './observable-service-method'; | |
export class CarService { | |
readonly getCars: (request: Schema.GetCarsRequest) => Observable<Schema.GetCarsResponse> = | |
toObservableServiceMethod(this.createCarServiceForMethod('getCars'), ({getCars}) => getCars); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ng_module( | |
name = "app", | |
srcs = glob( | |
["*.ts"], | |
exclude = ["*.spec.ts"], | |
), | |
assets = [ | |
"app.component.css", | |
"app.component.html", | |
], |
NewerOlder