UNPKG
ngs-plural
Version:
latest (2.1.1)
2.1.1
2.1.0
2.0.1
2.0.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Angular library for handling pluralization in different languages.
ngs-plural
/
lib
/
models
/
interfaces
/
options.interface.d.ts
9 lines
(8 loc)
•
295 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
LanguageISO6391Type
}
from
'../types/language-iso-639-1.type'
;
import
{
ILangWordForms
}
from
'./lang-word-forms.interface'
;
export
interface
ILangOptions
{
lang
?:
LanguageISO6391Type
; }
export
interface
IPluralOptions
extends
ILangOptions
{
forms
:
ILangWordForms
|
string
[]; }