UNPKG
@softkit/i18n
Version:
latest (0.4.5)
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.1.2
0.1.1
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
This library is a simple wrapper based on [nestjs-i18n](https://nestjs-i18n.com/)
@softkit/i18n
/
src
/
lib
/
__tests__
/
app
/
interfaces
/
hero.interface.d.ts
13 lines
(12 loc)
•
283 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
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
>; }