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
/
loaders
/
i18n.loader.d.ts
8 lines
(7 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{ I18nTranslation }
from
'../interfaces'
;
export
declare
abstract
class
I18nLoader
<T> {
protected
options
: T;
constructor
(
options
: T
);
abstract
languages
():
Promise
<
string
[]>;
abstract
load
():
Promise
<I18nTranslation>; }