UNPKG

@softkit/i18n

Version:

This library is a simple wrapper based on [nestjs-i18n](https://nestjs-i18n.com/)

13 lines (12 loc) 283 B
import { Observable } from 'rxjs'; import { Metadata } from '@grpc/grpc-js'; export interface Hero { id: number; name: string; } export interface HeroById { id: number; } export interface HeroService { findOne(data: HeroById, metadata: Metadata): Observable<Hero>; }