@@ -237,6 +237,10 @@ Locale message translation
237
237
$t (key : Path , plural : number ): string ;
238
238
```
239
239
240
+ :::tip NOTE
241
+ Supported for **Commposition API mode only **.
242
+ :::
243
+
240
244
**Details **
241
245
242
246
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -260,6 +264,10 @@ Locale message translation
260
264
$t (key : Path , plural : number , options : TranslateOptions ): string ;
261
265
```
262
266
267
+ :::tip NOTE
268
+ Supported for **Commposition API mode only **.
269
+ :::
270
+
263
271
**Details **
264
272
265
273
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -284,6 +292,10 @@ Locale message translation
284
292
$t (key : Path , defaultMsg : string ): string ;
285
293
```
286
294
295
+ :::tip NOTE
296
+ Supported for **Commposition API mode only **.
297
+ :::
298
+
287
299
**Details **
288
300
289
301
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -307,6 +319,10 @@ Locale message translation
307
319
$t (key : Path , defaultMsg : string , options : TranslateOptions ): string ;
308
320
```
309
321
322
+ :::tip NOTE
323
+ Supported for **Commposition API mode only **.
324
+ :::
325
+
310
326
**Details **
311
327
312
328
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -354,6 +370,10 @@ Locale message translation
354
370
$t (key : Path , list : unknown [], plural : number ): string ;
355
371
```
356
372
373
+ :::tip NOTE
374
+ Supported for **Commposition API mode only **.
375
+ :::
376
+
357
377
**Details **
358
378
359
379
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -378,6 +398,10 @@ Locale message translation
378
398
$t (key : Path , list : unknown [], defaultMsg : string ): string ;
379
399
```
380
400
401
+ :::tip NOTE
402
+ Supported for **Commposition API mode only **.
403
+ :::
404
+
381
405
**Details **
382
406
383
407
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -402,6 +426,10 @@ Locale message translation
402
426
$t (key : Path , list : unknown [], options : TranslateOptions ): string ;
403
427
```
404
428
429
+ :::tip NOTE
430
+ Supported for **Commposition API mode only **.
431
+ :::
432
+
405
433
**Details **
406
434
407
435
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -449,6 +477,10 @@ Locale message translation
449
477
$t (key : Path , named : NamedValue , plural : number ): string ;
450
478
```
451
479
480
+ :::tip NOTE
481
+ Supported for **Commposition API mode only **.
482
+ :::
483
+
452
484
**Details **
453
485
454
486
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -473,6 +505,10 @@ Locale message translation
473
505
$t (key : Path , named : NamedValue , defaultMsg : string ): string ;
474
506
```
475
507
508
+ :::tip NOTE
509
+ Supported for **Commposition API mode only **.
510
+ :::
511
+
476
512
**Details **
477
513
478
514
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -497,6 +533,10 @@ Locale message translation
497
533
$t (key : Path , named : NamedValue , options : TranslateOptions ): string ;
498
534
```
499
535
536
+ :::tip NOTE
537
+ Supported for **Commposition API mode only **.
538
+ :::
539
+
500
540
**Details **
501
541
502
542
Overloaded `$t `. About details , see the [$t ](injection #t -key ) remarks .
@@ -623,7 +663,7 @@ Locale message pluralization
623
663
$tc (key : Path ): TranslateResult ;
624
664
```
625
665
626
- :::tip NOTE
666
+ :::warning NOTE
627
667
Supported for **Legacy API mode only **.
628
668
:::
629
669
@@ -656,7 +696,7 @@ Locale message pluralization
656
696
$tc (key : Path , locale : Locale ): TranslateResult ;
657
697
```
658
698
659
- :::tip NOTE
699
+ :::warning NOTE
660
700
Supported for **Legacy API mode only **.
661
701
:::
662
702
@@ -683,7 +723,7 @@ Locale message pluralization
683
723
$tc (key : Path , list : unknown []): TranslateResult ;
684
724
```
685
725
686
- :::tip NOTE
726
+ :::warning NOTE
687
727
Supported for **Legacy API mode only **.
688
728
:::
689
729
@@ -710,7 +750,7 @@ Locale message pluralization
710
750
$tc (key : Path , named : Record <string , unknown >): TranslateResult ;
711
751
```
712
752
713
- :::tip NOTE
753
+ :::warning NOTE
714
754
Supported for **Legacy API mode only **.
715
755
:::
716
756
@@ -737,7 +777,7 @@ Locale message pluralization
737
777
$tc (key : Path , choice : number ): TranslateResult ;
738
778
```
739
779
740
- :::tip NOTE
780
+ :::warning NOTE
741
781
Supported for **Legacy API mode only **.
742
782
:::
743
783
@@ -764,7 +804,7 @@ Locale message pluralization
764
804
$tc (key : Path , choice : number , locale : Locale ): TranslateResult ;
765
805
```
766
806
767
- :::tip NOTE
807
+ :::warning NOTE
768
808
Supported for **Legacy API mode only **.
769
809
:::
770
810
@@ -792,7 +832,7 @@ Locale message pluralization
792
832
$tc (key : Path , choice : number , list : unknown []): TranslateResult ;
793
833
```
794
834
795
- :::tip NOTE
835
+ :::warning NOTE
796
836
Supported for **Legacy API mode only **.
797
837
:::
798
838
@@ -820,7 +860,7 @@ Locale message pluralization
820
860
$tc (key : Path , choice : number , named : Record <string , unknown >): TranslateResult ;
821
861
```
822
862
823
- :::tip NOTE
863
+ :::warning NOTE
824
864
Supported for **Legacy API mode only **.
825
865
:::
826
866
@@ -848,7 +888,7 @@ Translation message exist
848
888
$te (key : Path , locale ?: Locale ): boolean ;
849
889
```
850
890
851
- :::tip NOTE
891
+ :::warning NOTE
852
892
Supported for **Legacy API mode only **.
853
893
:::
854
894
@@ -902,7 +942,7 @@ Datetime formatting
902
942
903
943
** Signature:**
904
944
``` typescript
905
- $d (value : number | Date ): DateTimeFormatResult ;
945
+ $d (value : number | Date ): DateTimeFormatResult | string ;
906
946
```
907
947
908
948
** Details**
@@ -933,7 +973,7 @@ Datetime formatting
933
973
934
974
** Signature:**
935
975
``` typescript
936
- $d (value : number | Date , key : string ): DateTimeFormatResult ;
976
+ $d (value : number | Date , key : string ): DateTimeFormatResult | string ;
937
977
```
938
978
939
979
** Details**
@@ -956,7 +996,7 @@ Datetime formatting
956
996
957
997
** Signature:**
958
998
``` typescript
959
- $d (value : number | Date , key : string , locale : Locale ): DateTimeFormatResult ;
999
+ $d (value : number | Date , key : string , locale : Locale ): DateTimeFormatResult | string ;
960
1000
```
961
1001
962
1002
** Details**
@@ -997,75 +1037,6 @@ Overloaded `$d`. About details, see the [$d](injection#d-value) remarks.
997
1037
998
1038
Formatted value
999
1039
1000
- ### $d(value)
1001
-
1002
- Datetime formatting
1003
-
1004
- ** Signature:**
1005
- ``` typescript
1006
- $d (value : number | Date ): string ;
1007
- ```
1008
-
1009
- ** Details**
1010
-
1011
- Overloaded ` $d ` . About details, see the [ $d] ( injection#d-value ) remarks.
1012
-
1013
- #### Parameters
1014
- | Parameter | Type | Description |
1015
- | --- | --- | --- |
1016
- | value | number \| Date | A value, timestamp number or ` Date ` instance |
1017
-
1018
- #### Returns
1019
-
1020
- Formatted value
1021
-
1022
- ### $d(value, key)
1023
-
1024
- Datetime formatting
1025
-
1026
- ** Signature:**
1027
- ``` typescript
1028
- $d (value : number | Date , key : string ): string ;
1029
- ```
1030
-
1031
- ** Details**
1032
-
1033
- Overloaded ` $d ` . About details, see the [ $d] ( injection#d-value ) remarks.
1034
-
1035
- #### Parameters
1036
- | Parameter | Type | Description |
1037
- | --- | --- | --- |
1038
- | value | number \| Date | A value, timestamp number or ` Date ` instance |
1039
- | key | string | A key of datetime formats |
1040
-
1041
- #### Returns
1042
-
1043
- Formatted value
1044
-
1045
- ### $d(value, key, locale)
1046
-
1047
- Datetime formatting
1048
-
1049
- ** Signature:**
1050
- ``` typescript
1051
- $d (value : number | Date , key : string , locale : Locale ): string ;
1052
- ```
1053
-
1054
- ** Details**
1055
-
1056
- Overloaded ` $d ` . About details, see the [ $d] ( injection#d-value ) remarks.
1057
-
1058
- #### Parameters
1059
- | Parameter | Type | Description |
1060
- | --- | --- | --- |
1061
- | value | number \| Date | A value, timestamp number or ` Date ` instance |
1062
- | key | string | A key of datetime formats |
1063
- | locale | Locale | A locale, override locale that global scope or local scope |
1064
-
1065
- #### Returns
1066
-
1067
- Formatted value
1068
-
1069
1040
### $d(value, options)
1070
1041
1071
1042
Datetime formatting
@@ -1095,7 +1066,7 @@ Number formatting
1095
1066
1096
1067
** Signature:**
1097
1068
``` typescript
1098
- $n (value : number ): NumberFormatResult ;
1069
+ $n (value : number ): NumberFormatResult | string ;
1099
1070
```
1100
1071
1101
1072
** Details**
@@ -1126,7 +1097,7 @@ Number formatting
1126
1097
1127
1098
** Signature:**
1128
1099
``` typescript
1129
- $n (value : number , key : string ): NumberFormatResult ;
1100
+ $n (value : number , key : string ): NumberFormatResult | string ;
1130
1101
```
1131
1102
1132
1103
** Details**
@@ -1149,7 +1120,7 @@ Number formatting
1149
1120
1150
1121
** Signature:**
1151
1122
``` typescript
1152
- $n (value : number , key : string , locale : Locale ): NumberFormatResult ;
1123
+ $n (value : number , key : string , locale : Locale ): NumberFormatResult | string ;
1153
1124
```
1154
1125
1155
1126
** Details**
@@ -1239,75 +1210,6 @@ Overloaded `$n`. About details, see the [$n](injection#n-value) remarks.
1239
1210
1240
1211
Formatted value
1241
1212
1242
- ### $n(value)
1243
-
1244
- Number formatting
1245
-
1246
- ** Signature:**
1247
- ``` typescript
1248
- $n (value : number ): string ;
1249
- ```
1250
-
1251
- ** Details**
1252
-
1253
- Overloaded ` $n ` . About details, see the [ $n] ( injection#n-value ) remarks.
1254
-
1255
- #### Parameters
1256
- | Parameter | Type | Description |
1257
- | --- | --- | --- |
1258
- | value | number | A number value |
1259
-
1260
- #### Returns
1261
-
1262
- Formatted value
1263
-
1264
- ### $n(value, key)
1265
-
1266
- Number formatting
1267
-
1268
- ** Signature:**
1269
- ``` typescript
1270
- $n (value : number , key : string ): string ;
1271
- ```
1272
-
1273
- ** Details**
1274
-
1275
- Overloaded ` $n ` . About details, see the [ $n] ( injection#n-value ) remarks.
1276
-
1277
- #### Parameters
1278
- | Parameter | Type | Description |
1279
- | --- | --- | --- |
1280
- | value | number | A number value |
1281
- | key | string | A key of number formats |
1282
-
1283
- #### Returns
1284
-
1285
- Formatted value
1286
-
1287
- ### $n(value, key, locale)
1288
-
1289
- Number formatting
1290
-
1291
- ** Signature:**
1292
- ``` typescript
1293
- $n (value : number , key : string , locale : Locale ): string ;
1294
- ```
1295
-
1296
- ** Details**
1297
-
1298
- Overloaded ` $n ` . About details, see the [ $n] ( injection#n-value ) remarks.
1299
-
1300
- #### Parameters
1301
- | Parameter | Type | Description |
1302
- | --- | --- | --- |
1303
- | value | number | A number value |
1304
- | key | string | A key of number formats |
1305
- | locale | Locale | A locale, override locale that global scope or local scope |
1306
-
1307
- #### Returns
1308
-
1309
- Formatted value
1310
-
1311
1213
### $n(value, options)
1312
1214
1313
1215
Number formatting
0 commit comments