@girs/glib-2.0 2.80.3-4.0.0-beta.6 → 2.80.3-4.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/glib-2.0-ambient.d.ts +2 -5
- package/glib-2.0-import.d.ts +0 -3
- package/glib-2.0.d.ts +483 -7
- package/glib-2.0.js +3 -4
- package/index.d.ts +15 -0
- package/index.js +5 -0
- package/package.json +9 -4
- package/tsconfig.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.11.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/glib-2.0-ambient.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
1
|
declare module 'gi://GLib?version=2.0' {
|
|
3
|
-
import
|
|
4
|
-
export default
|
|
2
|
+
import GLib20 from '@girs/glib-2.0';
|
|
3
|
+
export default GLib20;
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
declare module 'gi://GLib' {
|
|
8
7
|
import GLib20 from 'gi://GLib?version=2.0';
|
|
9
8
|
export default GLib20;
|
|
10
9
|
}
|
|
11
|
-
|
|
12
|
-
|
package/glib-2.0-import.d.ts
CHANGED
package/glib-2.0.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
2
|
* Type Definitions for Gjs (https://gjs.guide/)
|
|
3
3
|
*
|
|
4
4
|
* These type definitions are automatically generated, do not edit them by hand.
|
|
5
5
|
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
|
|
6
|
+
*
|
|
7
|
+
* The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
|
|
6
8
|
*/
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* GLib-2.0
|
|
12
|
-
*/
|
|
13
|
-
|
|
10
|
+
// Module dependencies
|
|
14
11
|
import type GObject from '@girs/gobject-2.0';
|
|
15
12
|
|
|
16
13
|
export namespace GLib {
|
|
14
|
+
/**
|
|
15
|
+
* GLib-2.0
|
|
16
|
+
*/
|
|
17
|
+
|
|
17
18
|
/**
|
|
18
19
|
* Error codes returned by bookmark file parsing.
|
|
19
20
|
*/
|
|
@@ -70,6 +71,18 @@ export namespace GLib {
|
|
|
70
71
|
* Note that the #GChecksumType enumeration may be extended at a later
|
|
71
72
|
* date to include new hashing algorithm types.
|
|
72
73
|
*/
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The hashing algorithm to be used by #GChecksum when performing the
|
|
77
|
+
* digest of some data.
|
|
78
|
+
*
|
|
79
|
+
* Note that the #GChecksumType enumeration may be extended at a later
|
|
80
|
+
* date to include new hashing algorithm types.
|
|
81
|
+
*/
|
|
82
|
+
export namespace ChecksumType {
|
|
83
|
+
export const $gtype: GObject.GType<ChecksumType>;
|
|
84
|
+
}
|
|
85
|
+
|
|
73
86
|
enum ChecksumType {
|
|
74
87
|
/**
|
|
75
88
|
* Use the MD5 hashing algorithm
|
|
@@ -148,6 +161,15 @@ export namespace GLib {
|
|
|
148
161
|
* This enumeration isn't used in the API, but may be useful if you need
|
|
149
162
|
* to mark a number as a day, month, or year.
|
|
150
163
|
*/
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* This enumeration isn't used in the API, but may be useful if you need
|
|
167
|
+
* to mark a number as a day, month, or year.
|
|
168
|
+
*/
|
|
169
|
+
export namespace DateDMY {
|
|
170
|
+
export const $gtype: GObject.GType<DateDMY>;
|
|
171
|
+
}
|
|
172
|
+
|
|
151
173
|
enum DateDMY {
|
|
152
174
|
/**
|
|
153
175
|
* a day
|
|
@@ -166,6 +188,15 @@ export namespace GLib {
|
|
|
166
188
|
* Enumeration representing a month; values are %G_DATE_JANUARY,
|
|
167
189
|
* %G_DATE_FEBRUARY, etc. %G_DATE_BAD_MONTH is the invalid value.
|
|
168
190
|
*/
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Enumeration representing a month; values are %G_DATE_JANUARY,
|
|
194
|
+
* %G_DATE_FEBRUARY, etc. %G_DATE_BAD_MONTH is the invalid value.
|
|
195
|
+
*/
|
|
196
|
+
export namespace DateMonth {
|
|
197
|
+
export const $gtype: GObject.GType<DateMonth>;
|
|
198
|
+
}
|
|
199
|
+
|
|
169
200
|
enum DateMonth {
|
|
170
201
|
/**
|
|
171
202
|
* invalid value
|
|
@@ -224,6 +255,15 @@ export namespace GLib {
|
|
|
224
255
|
* Enumeration representing a day of the week; %G_DATE_MONDAY,
|
|
225
256
|
* %G_DATE_TUESDAY, etc. %G_DATE_BAD_WEEKDAY is an invalid weekday.
|
|
226
257
|
*/
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Enumeration representing a day of the week; %G_DATE_MONDAY,
|
|
261
|
+
* %G_DATE_TUESDAY, etc. %G_DATE_BAD_WEEKDAY is an invalid weekday.
|
|
262
|
+
*/
|
|
263
|
+
export namespace DateWeekday {
|
|
264
|
+
export const $gtype: GObject.GType<DateWeekday>;
|
|
265
|
+
}
|
|
266
|
+
|
|
227
267
|
enum DateWeekday {
|
|
228
268
|
/**
|
|
229
269
|
* invalid value
|
|
@@ -262,6 +302,15 @@ export namespace GLib {
|
|
|
262
302
|
* The possible errors, used in the `v_error` field
|
|
263
303
|
* of #GTokenValue, when the token is a %G_TOKEN_ERROR.
|
|
264
304
|
*/
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* The possible errors, used in the `v_error` field
|
|
308
|
+
* of #GTokenValue, when the token is a %G_TOKEN_ERROR.
|
|
309
|
+
*/
|
|
310
|
+
export namespace ErrorType {
|
|
311
|
+
export const $gtype: GObject.GType<ErrorType>;
|
|
312
|
+
}
|
|
313
|
+
|
|
265
314
|
enum ErrorType {
|
|
266
315
|
/**
|
|
267
316
|
* unknown error
|
|
@@ -519,6 +568,15 @@ export namespace GLib {
|
|
|
519
568
|
* #GIOError is only used by the deprecated functions
|
|
520
569
|
* g_io_channel_read(), g_io_channel_write(), and g_io_channel_seek().
|
|
521
570
|
*/
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* #GIOError is only used by the deprecated functions
|
|
574
|
+
* g_io_channel_read(), g_io_channel_write(), and g_io_channel_seek().
|
|
575
|
+
*/
|
|
576
|
+
export namespace IOError {
|
|
577
|
+
export const $gtype: GObject.GType<IOError>;
|
|
578
|
+
}
|
|
579
|
+
|
|
522
580
|
enum IOError {
|
|
523
581
|
/**
|
|
524
582
|
* no error
|
|
@@ -540,6 +598,14 @@ export namespace GLib {
|
|
|
540
598
|
/**
|
|
541
599
|
* Statuses returned by most of the #GIOFuncs functions.
|
|
542
600
|
*/
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Statuses returned by most of the #GIOFuncs functions.
|
|
604
|
+
*/
|
|
605
|
+
export namespace IOStatus {
|
|
606
|
+
export const $gtype: GObject.GType<IOStatus>;
|
|
607
|
+
}
|
|
608
|
+
|
|
543
609
|
enum IOStatus {
|
|
544
610
|
/**
|
|
545
611
|
* An error occurred.
|
|
@@ -606,6 +672,19 @@ export namespace GLib {
|
|
|
606
672
|
* If a #GLogWriterFunc ignores a log entry, it should return
|
|
607
673
|
* %G_LOG_WRITER_HANDLED.
|
|
608
674
|
*/
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Return values from #GLogWriterFuncs to indicate whether the given log entry
|
|
678
|
+
* was successfully handled by the writer, or whether there was an error in
|
|
679
|
+
* handling it (and hence a fallback writer should be used).
|
|
680
|
+
*
|
|
681
|
+
* If a #GLogWriterFunc ignores a log entry, it should return
|
|
682
|
+
* %G_LOG_WRITER_HANDLED.
|
|
683
|
+
*/
|
|
684
|
+
export namespace LogWriterOutput {
|
|
685
|
+
export const $gtype: GObject.GType<LogWriterOutput>;
|
|
686
|
+
}
|
|
687
|
+
|
|
609
688
|
enum LogWriterOutput {
|
|
610
689
|
/**
|
|
611
690
|
* Log writer has handled the log entry.
|
|
@@ -670,6 +749,18 @@ export namespace GLib {
|
|
|
670
749
|
* accent or as a single precomposed character. Unicode strings
|
|
671
750
|
* should generally be normalized before comparing them.
|
|
672
751
|
*/
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Defines how a Unicode string is transformed in a canonical
|
|
755
|
+
* form, standardizing such issues as whether a character with
|
|
756
|
+
* an accent is represented as a base character and combining
|
|
757
|
+
* accent or as a single precomposed character. Unicode strings
|
|
758
|
+
* should generally be normalized before comparing them.
|
|
759
|
+
*/
|
|
760
|
+
export namespace NormalizeMode {
|
|
761
|
+
export const $gtype: GObject.GType<NormalizeMode>;
|
|
762
|
+
}
|
|
763
|
+
|
|
673
764
|
enum NormalizeMode {
|
|
674
765
|
/**
|
|
675
766
|
* standardize differences that do not affect the
|
|
@@ -738,6 +829,15 @@ export namespace GLib {
|
|
|
738
829
|
* The possible statuses of a one-time initialization function
|
|
739
830
|
* controlled by a #GOnce struct.
|
|
740
831
|
*/
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* The possible statuses of a one-time initialization function
|
|
835
|
+
* controlled by a #GOnce struct.
|
|
836
|
+
*/
|
|
837
|
+
export namespace OnceStatus {
|
|
838
|
+
export const $gtype: GObject.GType<OnceStatus>;
|
|
839
|
+
}
|
|
840
|
+
|
|
741
841
|
enum OnceStatus {
|
|
742
842
|
/**
|
|
743
843
|
* the function has not been called yet.
|
|
@@ -758,6 +858,17 @@ export namespace GLib {
|
|
|
758
858
|
* be specified in several ways; with a short option: `-x arg`, with a long
|
|
759
859
|
* option: `--name arg` or combined in a single argument: `--name=arg`.
|
|
760
860
|
*/
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* The #GOptionArg enum values determine which type of extra argument the
|
|
864
|
+
* options expect to find. If an option expects an extra argument, it can
|
|
865
|
+
* be specified in several ways; with a short option: `-x arg`, with a long
|
|
866
|
+
* option: `--name arg` or combined in a single argument: `--name=arg`.
|
|
867
|
+
*/
|
|
868
|
+
export namespace OptionArg {
|
|
869
|
+
export const $gtype: GObject.GType<OptionArg>;
|
|
870
|
+
}
|
|
871
|
+
|
|
761
872
|
enum OptionArg {
|
|
762
873
|
/**
|
|
763
874
|
* No extra argument. This is useful for simple flags or booleans.
|
|
@@ -1124,6 +1235,15 @@ export namespace GLib {
|
|
|
1124
1235
|
* An enumeration specifying the base position for a
|
|
1125
1236
|
* g_io_channel_seek_position() operation.
|
|
1126
1237
|
*/
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* An enumeration specifying the base position for a
|
|
1241
|
+
* g_io_channel_seek_position() operation.
|
|
1242
|
+
*/
|
|
1243
|
+
export namespace SeekType {
|
|
1244
|
+
export const $gtype: GObject.GType<SeekType>;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1127
1247
|
enum SeekType {
|
|
1128
1248
|
/**
|
|
1129
1249
|
* the current position in the file.
|
|
@@ -1165,6 +1285,10 @@ export namespace GLib {
|
|
|
1165
1285
|
_init(...args: any[]): void;
|
|
1166
1286
|
}
|
|
1167
1287
|
|
|
1288
|
+
export namespace SliceConfig {
|
|
1289
|
+
export const $gtype: GObject.GType<SliceConfig>;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1168
1292
|
enum SliceConfig {
|
|
1169
1293
|
ALWAYS_MALLOC,
|
|
1170
1294
|
BYPASS_MAGAZINES,
|
|
@@ -1291,6 +1415,29 @@ export namespace GLib {
|
|
|
1291
1415
|
* tarball) always go in srcdir (even if doing a srcdir != builddir
|
|
1292
1416
|
* build from git) and are considered as distributed files.
|
|
1293
1417
|
*/
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* The type of file to return the filename for, when used with
|
|
1421
|
+
* g_test_build_filename().
|
|
1422
|
+
*
|
|
1423
|
+
* These two options correspond rather directly to the 'dist' and
|
|
1424
|
+
* 'built' terminology that automake uses and are explicitly used to
|
|
1425
|
+
* distinguish between the 'srcdir' and 'builddir' being separate. All
|
|
1426
|
+
* files in your project should either be dist (in the
|
|
1427
|
+
* `EXTRA_DIST` or `dist_schema_DATA`
|
|
1428
|
+
* sense, in which case they will always be in the srcdir) or built (in
|
|
1429
|
+
* the `BUILT_SOURCES` sense, in which case they will
|
|
1430
|
+
* always be in the builddir).
|
|
1431
|
+
*
|
|
1432
|
+
* Note: as a general rule of automake, files that are generated only as
|
|
1433
|
+
* part of the build-from-git process (but then are distributed with the
|
|
1434
|
+
* tarball) always go in srcdir (even if doing a srcdir != builddir
|
|
1435
|
+
* build from git) and are considered as distributed files.
|
|
1436
|
+
*/
|
|
1437
|
+
export namespace TestFileType {
|
|
1438
|
+
export const $gtype: GObject.GType<TestFileType>;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1294
1441
|
enum TestFileType {
|
|
1295
1442
|
/**
|
|
1296
1443
|
* a file that was included in the distribution tarball
|
|
@@ -1301,6 +1448,11 @@ export namespace GLib {
|
|
|
1301
1448
|
*/
|
|
1302
1449
|
BUILT,
|
|
1303
1450
|
}
|
|
1451
|
+
|
|
1452
|
+
export namespace TestLogType {
|
|
1453
|
+
export const $gtype: GObject.GType<TestLogType>;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1304
1456
|
enum TestLogType {
|
|
1305
1457
|
NONE,
|
|
1306
1458
|
ERROR,
|
|
@@ -1315,6 +1467,11 @@ export namespace GLib {
|
|
|
1315
1467
|
START_SUITE,
|
|
1316
1468
|
STOP_SUITE,
|
|
1317
1469
|
}
|
|
1470
|
+
|
|
1471
|
+
export namespace TestResult {
|
|
1472
|
+
export const $gtype: GObject.GType<TestResult>;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1318
1475
|
enum TestResult {
|
|
1319
1476
|
SUCCESS,
|
|
1320
1477
|
SKIPPED,
|
|
@@ -1344,6 +1501,14 @@ export namespace GLib {
|
|
|
1344
1501
|
/**
|
|
1345
1502
|
* Thread priorities.
|
|
1346
1503
|
*/
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* Thread priorities.
|
|
1507
|
+
*/
|
|
1508
|
+
export namespace ThreadPriority {
|
|
1509
|
+
export const $gtype: GObject.GType<ThreadPriority>;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1347
1512
|
enum ThreadPriority {
|
|
1348
1513
|
/**
|
|
1349
1514
|
* a priority lower than normal
|
|
@@ -1372,6 +1537,21 @@ export namespace GLib {
|
|
|
1372
1537
|
* where the same local time occurs twice (during daylight savings time
|
|
1373
1538
|
* transitions, for example).
|
|
1374
1539
|
*/
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* Disambiguates a given time in two ways.
|
|
1543
|
+
*
|
|
1544
|
+
* First, specifies if the given time is in universal or local time.
|
|
1545
|
+
*
|
|
1546
|
+
* Second, if the time is in local time, specifies if it is local
|
|
1547
|
+
* standard time or local daylight time. This is important for the case
|
|
1548
|
+
* where the same local time occurs twice (during daylight savings time
|
|
1549
|
+
* transitions, for example).
|
|
1550
|
+
*/
|
|
1551
|
+
export namespace TimeType {
|
|
1552
|
+
export const $gtype: GObject.GType<TimeType>;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1375
1555
|
enum TimeType {
|
|
1376
1556
|
/**
|
|
1377
1557
|
* the time is in local standard time
|
|
@@ -1390,6 +1570,15 @@ export namespace GLib {
|
|
|
1390
1570
|
* The possible types of token returned from each
|
|
1391
1571
|
* g_scanner_get_next_token() call.
|
|
1392
1572
|
*/
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* The possible types of token returned from each
|
|
1576
|
+
* g_scanner_get_next_token() call.
|
|
1577
|
+
*/
|
|
1578
|
+
export namespace TokenType {
|
|
1579
|
+
export const $gtype: GObject.GType<TokenType>;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1393
1582
|
enum TokenType {
|
|
1394
1583
|
/**
|
|
1395
1584
|
* the end of the file
|
|
@@ -1497,6 +1686,24 @@ export namespace GLib {
|
|
|
1497
1686
|
* - Level order: F, B, G, A, D, I, C, E, H
|
|
1498
1687
|
* 
|
|
1499
1688
|
*/
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Specifies the type of traversal performed by g_tree_traverse(),
|
|
1692
|
+
* g_node_traverse() and g_node_find(). The different orders are
|
|
1693
|
+
* illustrated here:
|
|
1694
|
+
* - In order: A, B, C, D, E, F, G, H, I
|
|
1695
|
+
* 
|
|
1696
|
+
* - Pre order: F, B, A, D, C, E, G, I, H
|
|
1697
|
+
* 
|
|
1698
|
+
* - Post order: A, C, E, D, B, H, I, G, F
|
|
1699
|
+
* 
|
|
1700
|
+
* - Level order: F, B, G, A, D, I, C, E, H
|
|
1701
|
+
* 
|
|
1702
|
+
*/
|
|
1703
|
+
export namespace TraverseType {
|
|
1704
|
+
export const $gtype: GObject.GType<TraverseType>;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1500
1707
|
enum TraverseType {
|
|
1501
1708
|
/**
|
|
1502
1709
|
* vists a node's left child first, then the node itself,
|
|
@@ -1531,6 +1738,19 @@ export namespace GLib {
|
|
|
1531
1738
|
*
|
|
1532
1739
|
* See [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).
|
|
1533
1740
|
*/
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* These are the possible line break classifications.
|
|
1744
|
+
*
|
|
1745
|
+
* Since new Unicode versions may add new types here, applications should be ready
|
|
1746
|
+
* to handle unknown values. They may be regarded as %G_UNICODE_BREAK_UNKNOWN.
|
|
1747
|
+
*
|
|
1748
|
+
* See [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).
|
|
1749
|
+
*/
|
|
1750
|
+
export namespace UnicodeBreakType {
|
|
1751
|
+
export const $gtype: GObject.GType<UnicodeBreakType>;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1534
1754
|
enum UnicodeBreakType {
|
|
1535
1755
|
/**
|
|
1536
1756
|
* Mandatory Break (BK)
|
|
@@ -1731,6 +1951,21 @@ export namespace GLib {
|
|
|
1731
1951
|
* should be ready to handle unknown values.
|
|
1732
1952
|
* See [Unicode Standard Annex #24: Script names](http://www.unicode.org/reports/tr24/).
|
|
1733
1953
|
*/
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* The #GUnicodeScript enumeration identifies different writing
|
|
1957
|
+
* systems. The values correspond to the names as defined in the
|
|
1958
|
+
* Unicode standard. The enumeration has been added in GLib 2.14,
|
|
1959
|
+
* and is interchangeable with #PangoScript.
|
|
1960
|
+
*
|
|
1961
|
+
* Note that new types may be added in the future. Applications
|
|
1962
|
+
* should be ready to handle unknown values.
|
|
1963
|
+
* See [Unicode Standard Annex #24: Script names](http://www.unicode.org/reports/tr24/).
|
|
1964
|
+
*/
|
|
1965
|
+
export namespace UnicodeScript {
|
|
1966
|
+
export const $gtype: GObject.GType<UnicodeScript>;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1734
1969
|
enum UnicodeScript {
|
|
1735
1970
|
/**
|
|
1736
1971
|
* a value never returned from g_unichar_get_script()
|
|
@@ -2403,6 +2638,16 @@ export namespace GLib {
|
|
|
2403
2638
|
* Unicode specification.
|
|
2404
2639
|
* See [Unicode Character Database](http://www.unicode.org/reports/tr44/#General_Category_Values).
|
|
2405
2640
|
*/
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* These are the possible character classifications from the
|
|
2644
|
+
* Unicode specification.
|
|
2645
|
+
* See [Unicode Character Database](http://www.unicode.org/reports/tr44/#General_Category_Values).
|
|
2646
|
+
*/
|
|
2647
|
+
export namespace UnicodeType {
|
|
2648
|
+
export const $gtype: GObject.GType<UnicodeType>;
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2406
2651
|
enum UnicodeType {
|
|
2407
2652
|
/**
|
|
2408
2653
|
* General category "Other, Control" (Cc)
|
|
@@ -2528,6 +2773,14 @@ export namespace GLib {
|
|
|
2528
2773
|
/**
|
|
2529
2774
|
* Mnemonic constants for the ends of a Unix pipe.
|
|
2530
2775
|
*/
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
* Mnemonic constants for the ends of a Unix pipe.
|
|
2779
|
+
*/
|
|
2780
|
+
export namespace UnixPipeEnd {
|
|
2781
|
+
export const $gtype: GObject.GType<UnixPipeEnd>;
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2531
2784
|
enum UnixPipeEnd {
|
|
2532
2785
|
/**
|
|
2533
2786
|
* The readable file descriptor 0
|
|
@@ -2603,6 +2856,20 @@ export namespace GLib {
|
|
|
2603
2856
|
* every platform has a directory for every logical id in this
|
|
2604
2857
|
* enumeration.
|
|
2605
2858
|
*/
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* These are logical ids for special directories which are defined
|
|
2862
|
+
* depending on the platform used. You should use g_get_user_special_dir()
|
|
2863
|
+
* to retrieve the full path associated to the logical id.
|
|
2864
|
+
*
|
|
2865
|
+
* The #GUserDirectory enumeration can be extended at later date. Not
|
|
2866
|
+
* every platform has a directory for every logical id in this
|
|
2867
|
+
* enumeration.
|
|
2868
|
+
*/
|
|
2869
|
+
export namespace UserDirectory {
|
|
2870
|
+
export const $gtype: GObject.GType<UserDirectory>;
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2606
2873
|
enum UserDirectory {
|
|
2607
2874
|
/**
|
|
2608
2875
|
* the user's Desktop directory
|
|
@@ -2644,6 +2911,14 @@ export namespace GLib {
|
|
|
2644
2911
|
/**
|
|
2645
2912
|
* The range of possible top-level types of #GVariant instances.
|
|
2646
2913
|
*/
|
|
2914
|
+
|
|
2915
|
+
/**
|
|
2916
|
+
* The range of possible top-level types of #GVariant instances.
|
|
2917
|
+
*/
|
|
2918
|
+
export namespace VariantClass {
|
|
2919
|
+
export const $gtype: GObject.GType<VariantClass>;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2647
2922
|
enum VariantClass {
|
|
2648
2923
|
/**
|
|
2649
2924
|
* The #GVariant is a boolean.
|
|
@@ -12375,6 +12650,11 @@ export namespace GLib {
|
|
|
12375
12650
|
interface VoidFunc {
|
|
12376
12651
|
(): void;
|
|
12377
12652
|
}
|
|
12653
|
+
|
|
12654
|
+
export namespace AsciiType {
|
|
12655
|
+
export const $gtype: GObject.GType<AsciiType>;
|
|
12656
|
+
}
|
|
12657
|
+
|
|
12378
12658
|
enum AsciiType {
|
|
12379
12659
|
ALNUM,
|
|
12380
12660
|
ALPHA,
|
|
@@ -12392,6 +12672,15 @@ export namespace GLib {
|
|
|
12392
12672
|
* Flags to pass to g_file_set_contents_full() to affect its safety and
|
|
12393
12673
|
* performance.
|
|
12394
12674
|
*/
|
|
12675
|
+
|
|
12676
|
+
/**
|
|
12677
|
+
* Flags to pass to g_file_set_contents_full() to affect its safety and
|
|
12678
|
+
* performance.
|
|
12679
|
+
*/
|
|
12680
|
+
export namespace FileSetContentsFlags {
|
|
12681
|
+
export const $gtype: GObject.GType<FileSetContentsFlags>;
|
|
12682
|
+
}
|
|
12683
|
+
|
|
12395
12684
|
enum FileSetContentsFlags {
|
|
12396
12685
|
/**
|
|
12397
12686
|
* No guarantees about file consistency or durability.
|
|
@@ -12425,6 +12714,14 @@ export namespace GLib {
|
|
|
12425
12714
|
/**
|
|
12426
12715
|
* A test to perform on a file using g_file_test().
|
|
12427
12716
|
*/
|
|
12717
|
+
|
|
12718
|
+
/**
|
|
12719
|
+
* A test to perform on a file using g_file_test().
|
|
12720
|
+
*/
|
|
12721
|
+
export namespace FileTest {
|
|
12722
|
+
export const $gtype: GObject.GType<FileTest>;
|
|
12723
|
+
}
|
|
12724
|
+
|
|
12428
12725
|
enum FileTest {
|
|
12429
12726
|
/**
|
|
12430
12727
|
* %TRUE if the file is a regular file
|
|
@@ -12453,6 +12750,14 @@ export namespace GLib {
|
|
|
12453
12750
|
/**
|
|
12454
12751
|
* Flags to modify the format of the string returned by g_format_size_full().
|
|
12455
12752
|
*/
|
|
12753
|
+
|
|
12754
|
+
/**
|
|
12755
|
+
* Flags to modify the format of the string returned by g_format_size_full().
|
|
12756
|
+
*/
|
|
12757
|
+
export namespace FormatSizeFlags {
|
|
12758
|
+
export const $gtype: GObject.GType<FormatSizeFlags>;
|
|
12759
|
+
}
|
|
12760
|
+
|
|
12456
12761
|
enum FormatSizeFlags {
|
|
12457
12762
|
/**
|
|
12458
12763
|
* behave the same as g_format_size()
|
|
@@ -12491,6 +12796,14 @@ export namespace GLib {
|
|
|
12491
12796
|
/**
|
|
12492
12797
|
* Flags used internally in the #GHook implementation.
|
|
12493
12798
|
*/
|
|
12799
|
+
|
|
12800
|
+
/**
|
|
12801
|
+
* Flags used internally in the #GHook implementation.
|
|
12802
|
+
*/
|
|
12803
|
+
export namespace HookFlagMask {
|
|
12804
|
+
export const $gtype: GObject.GType<HookFlagMask>;
|
|
12805
|
+
}
|
|
12806
|
+
|
|
12494
12807
|
enum HookFlagMask {
|
|
12495
12808
|
/**
|
|
12496
12809
|
* set if the hook has not been destroyed
|
|
@@ -12510,6 +12823,15 @@ export namespace GLib {
|
|
|
12510
12823
|
* A bitwise combination representing a condition to watch for on an
|
|
12511
12824
|
* event source.
|
|
12512
12825
|
*/
|
|
12826
|
+
|
|
12827
|
+
/**
|
|
12828
|
+
* A bitwise combination representing a condition to watch for on an
|
|
12829
|
+
* event source.
|
|
12830
|
+
*/
|
|
12831
|
+
export namespace IOCondition {
|
|
12832
|
+
export const $gtype: GObject.GType<IOCondition>;
|
|
12833
|
+
}
|
|
12834
|
+
|
|
12513
12835
|
enum IOCondition {
|
|
12514
12836
|
/**
|
|
12515
12837
|
* There is data to read.
|
|
@@ -12542,6 +12864,16 @@ export namespace GLib {
|
|
|
12542
12864
|
* read with g_io_channel_get_flags(), but not changed with
|
|
12543
12865
|
* g_io_channel_set_flags().
|
|
12544
12866
|
*/
|
|
12867
|
+
|
|
12868
|
+
/**
|
|
12869
|
+
* Specifies properties of a #GIOChannel. Some of the flags can only be
|
|
12870
|
+
* read with g_io_channel_get_flags(), but not changed with
|
|
12871
|
+
* g_io_channel_set_flags().
|
|
12872
|
+
*/
|
|
12873
|
+
export namespace IOFlags {
|
|
12874
|
+
export const $gtype: GObject.GType<IOFlags>;
|
|
12875
|
+
}
|
|
12876
|
+
|
|
12545
12877
|
enum IOFlags {
|
|
12546
12878
|
/**
|
|
12547
12879
|
* no special flags set. Since: 2.74
|
|
@@ -12598,6 +12930,14 @@ export namespace GLib {
|
|
|
12598
12930
|
/**
|
|
12599
12931
|
* Flags which influence the parsing.
|
|
12600
12932
|
*/
|
|
12933
|
+
|
|
12934
|
+
/**
|
|
12935
|
+
* Flags which influence the parsing.
|
|
12936
|
+
*/
|
|
12937
|
+
export namespace KeyFileFlags {
|
|
12938
|
+
export const $gtype: GObject.GType<KeyFileFlags>;
|
|
12939
|
+
}
|
|
12940
|
+
|
|
12601
12941
|
enum KeyFileFlags {
|
|
12602
12942
|
/**
|
|
12603
12943
|
* No flags, default behaviour
|
|
@@ -12624,6 +12964,17 @@ export namespace GLib {
|
|
|
12624
12964
|
* It is possible to change how GLib treats messages of the various
|
|
12625
12965
|
* levels using [func`GLib`.log_set_handler] and [func`GLib`.log_set_fatal_mask].
|
|
12626
12966
|
*/
|
|
12967
|
+
|
|
12968
|
+
/**
|
|
12969
|
+
* Flags specifying the level of log messages.
|
|
12970
|
+
*
|
|
12971
|
+
* It is possible to change how GLib treats messages of the various
|
|
12972
|
+
* levels using [func`GLib`.log_set_handler] and [func`GLib`.log_set_fatal_mask].
|
|
12973
|
+
*/
|
|
12974
|
+
export namespace LogLevelFlags {
|
|
12975
|
+
export const $gtype: GObject.GType<LogLevelFlags>;
|
|
12976
|
+
}
|
|
12977
|
+
|
|
12627
12978
|
enum LogLevelFlags {
|
|
12628
12979
|
/**
|
|
12629
12980
|
* internal flag
|
|
@@ -12669,6 +13020,15 @@ export namespace GLib {
|
|
|
12669
13020
|
* Flags to pass to g_main_context_new_with_flags() which affect the behaviour
|
|
12670
13021
|
* of a #GMainContext.
|
|
12671
13022
|
*/
|
|
13023
|
+
|
|
13024
|
+
/**
|
|
13025
|
+
* Flags to pass to g_main_context_new_with_flags() which affect the behaviour
|
|
13026
|
+
* of a #GMainContext.
|
|
13027
|
+
*/
|
|
13028
|
+
export namespace MainContextFlags {
|
|
13029
|
+
export const $gtype: GObject.GType<MainContextFlags>;
|
|
13030
|
+
}
|
|
13031
|
+
|
|
12672
13032
|
enum MainContextFlags {
|
|
12673
13033
|
/**
|
|
12674
13034
|
* Default behaviour.
|
|
@@ -12690,6 +13050,19 @@ export namespace GLib {
|
|
|
12690
13050
|
* It is likely that this enum will be extended in the future to
|
|
12691
13051
|
* support other types.
|
|
12692
13052
|
*/
|
|
13053
|
+
|
|
13054
|
+
/**
|
|
13055
|
+
* A mixed enumerated type and flags field. You must specify one type
|
|
13056
|
+
* (string, strdup, boolean, tristate). Additionally, you may optionally
|
|
13057
|
+
* bitwise OR the type with the flag %G_MARKUP_COLLECT_OPTIONAL.
|
|
13058
|
+
*
|
|
13059
|
+
* It is likely that this enum will be extended in the future to
|
|
13060
|
+
* support other types.
|
|
13061
|
+
*/
|
|
13062
|
+
export namespace MarkupCollectType {
|
|
13063
|
+
export const $gtype: GObject.GType<MarkupCollectType>;
|
|
13064
|
+
}
|
|
13065
|
+
|
|
12693
13066
|
enum MarkupCollectType {
|
|
12694
13067
|
/**
|
|
12695
13068
|
* used to terminate the list of attributes
|
|
@@ -12734,6 +13107,14 @@ export namespace GLib {
|
|
|
12734
13107
|
/**
|
|
12735
13108
|
* Flags that affect the behaviour of the parser.
|
|
12736
13109
|
*/
|
|
13110
|
+
|
|
13111
|
+
/**
|
|
13112
|
+
* Flags that affect the behaviour of the parser.
|
|
13113
|
+
*/
|
|
13114
|
+
export namespace MarkupParseFlags {
|
|
13115
|
+
export const $gtype: GObject.GType<MarkupParseFlags>;
|
|
13116
|
+
}
|
|
13117
|
+
|
|
12737
13118
|
enum MarkupParseFlags {
|
|
12738
13119
|
/**
|
|
12739
13120
|
* No special behaviour. Since: 2.74
|
|
@@ -12770,6 +13151,14 @@ export namespace GLib {
|
|
|
12770
13151
|
/**
|
|
12771
13152
|
* Flags which modify individual options.
|
|
12772
13153
|
*/
|
|
13154
|
+
|
|
13155
|
+
/**
|
|
13156
|
+
* Flags which modify individual options.
|
|
13157
|
+
*/
|
|
13158
|
+
export namespace OptionFlags {
|
|
13159
|
+
export const $gtype: GObject.GType<OptionFlags>;
|
|
13160
|
+
}
|
|
13161
|
+
|
|
12773
13162
|
enum OptionFlags {
|
|
12774
13163
|
/**
|
|
12775
13164
|
* No flags. Since: 2.42.
|
|
@@ -12822,6 +13211,14 @@ export namespace GLib {
|
|
|
12822
13211
|
/**
|
|
12823
13212
|
* Flags specifying compile-time options.
|
|
12824
13213
|
*/
|
|
13214
|
+
|
|
13215
|
+
/**
|
|
13216
|
+
* Flags specifying compile-time options.
|
|
13217
|
+
*/
|
|
13218
|
+
export namespace RegexCompileFlags {
|
|
13219
|
+
export const $gtype: GObject.GType<RegexCompileFlags>;
|
|
13220
|
+
}
|
|
13221
|
+
|
|
12825
13222
|
enum RegexCompileFlags {
|
|
12826
13223
|
/**
|
|
12827
13224
|
* No special options set. Since: 2.74
|
|
@@ -12959,6 +13356,14 @@ export namespace GLib {
|
|
|
12959
13356
|
/**
|
|
12960
13357
|
* Flags specifying match-time options.
|
|
12961
13358
|
*/
|
|
13359
|
+
|
|
13360
|
+
/**
|
|
13361
|
+
* Flags specifying match-time options.
|
|
13362
|
+
*/
|
|
13363
|
+
export namespace RegexMatchFlags {
|
|
13364
|
+
export const $gtype: GObject.GType<RegexMatchFlags>;
|
|
13365
|
+
}
|
|
13366
|
+
|
|
12962
13367
|
enum RegexMatchFlags {
|
|
12963
13368
|
/**
|
|
12964
13369
|
* No special options set. Since: 2.74
|
|
@@ -13072,6 +13477,14 @@ export namespace GLib {
|
|
|
13072
13477
|
/**
|
|
13073
13478
|
* Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().
|
|
13074
13479
|
*/
|
|
13480
|
+
|
|
13481
|
+
/**
|
|
13482
|
+
* Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().
|
|
13483
|
+
*/
|
|
13484
|
+
export namespace SpawnFlags {
|
|
13485
|
+
export const $gtype: GObject.GType<SpawnFlags>;
|
|
13486
|
+
}
|
|
13487
|
+
|
|
13075
13488
|
enum SpawnFlags {
|
|
13076
13489
|
/**
|
|
13077
13490
|
* no flags, default behaviour
|
|
@@ -13145,6 +13558,17 @@ export namespace GLib {
|
|
|
13145
13558
|
* Note that in contrast with g_test_trap_fork(), the default is to
|
|
13146
13559
|
* not show stdout and stderr.
|
|
13147
13560
|
*/
|
|
13561
|
+
|
|
13562
|
+
/**
|
|
13563
|
+
* Flags to pass to g_test_trap_subprocess() to control input and output.
|
|
13564
|
+
*
|
|
13565
|
+
* Note that in contrast with g_test_trap_fork(), the default is to
|
|
13566
|
+
* not show stdout and stderr.
|
|
13567
|
+
*/
|
|
13568
|
+
export namespace TestSubprocessFlags {
|
|
13569
|
+
export const $gtype: GObject.GType<TestSubprocessFlags>;
|
|
13570
|
+
}
|
|
13571
|
+
|
|
13148
13572
|
enum TestSubprocessFlags {
|
|
13149
13573
|
/**
|
|
13150
13574
|
* Default behaviour. Since: 2.74
|
|
@@ -13175,6 +13599,15 @@ export namespace GLib {
|
|
|
13175
13599
|
* Test traps are guards around forked tests.
|
|
13176
13600
|
* These flags determine what traps to set.
|
|
13177
13601
|
*/
|
|
13602
|
+
|
|
13603
|
+
/**
|
|
13604
|
+
* Test traps are guards around forked tests.
|
|
13605
|
+
* These flags determine what traps to set.
|
|
13606
|
+
*/
|
|
13607
|
+
export namespace TestTrapFlags {
|
|
13608
|
+
export const $gtype: GObject.GType<TestTrapFlags>;
|
|
13609
|
+
}
|
|
13610
|
+
|
|
13178
13611
|
enum TestTrapFlags {
|
|
13179
13612
|
/**
|
|
13180
13613
|
* Default behaviour. Since: 2.74
|
|
@@ -13205,6 +13638,15 @@ export namespace GLib {
|
|
|
13205
13638
|
* Specifies which nodes are visited during several of the tree
|
|
13206
13639
|
* functions, including g_node_traverse() and g_node_find().
|
|
13207
13640
|
*/
|
|
13641
|
+
|
|
13642
|
+
/**
|
|
13643
|
+
* Specifies which nodes are visited during several of the tree
|
|
13644
|
+
* functions, including g_node_traverse() and g_node_find().
|
|
13645
|
+
*/
|
|
13646
|
+
export namespace TraverseFlags {
|
|
13647
|
+
export const $gtype: GObject.GType<TraverseFlags>;
|
|
13648
|
+
}
|
|
13649
|
+
|
|
13208
13650
|
enum TraverseFlags {
|
|
13209
13651
|
/**
|
|
13210
13652
|
* only leaf nodes should be visited. This name has
|
|
@@ -13243,6 +13685,19 @@ export namespace GLib {
|
|
|
13243
13685
|
* to check the scheme first, and use that to decide what flags to
|
|
13244
13686
|
* parse it with.
|
|
13245
13687
|
*/
|
|
13688
|
+
|
|
13689
|
+
/**
|
|
13690
|
+
* Flags that describe a URI.
|
|
13691
|
+
*
|
|
13692
|
+
* When parsing a URI, if you need to choose different flags based on
|
|
13693
|
+
* the type of URI, you can use g_uri_peek_scheme() on the URI string
|
|
13694
|
+
* to check the scheme first, and use that to decide what flags to
|
|
13695
|
+
* parse it with.
|
|
13696
|
+
*/
|
|
13697
|
+
export namespace UriFlags {
|
|
13698
|
+
export const $gtype: GObject.GType<UriFlags>;
|
|
13699
|
+
}
|
|
13700
|
+
|
|
13246
13701
|
enum UriFlags {
|
|
13247
13702
|
/**
|
|
13248
13703
|
* No flags set.
|
|
@@ -13310,6 +13765,17 @@ export namespace GLib {
|
|
|
13310
13765
|
* %G_URI_HIDE_AUTH_PARAMS will only work if the #GUri was parsed with
|
|
13311
13766
|
* the corresponding flags.
|
|
13312
13767
|
*/
|
|
13768
|
+
|
|
13769
|
+
/**
|
|
13770
|
+
* Flags describing what parts of the URI to hide in
|
|
13771
|
+
* g_uri_to_string_partial(). Note that %G_URI_HIDE_PASSWORD and
|
|
13772
|
+
* %G_URI_HIDE_AUTH_PARAMS will only work if the #GUri was parsed with
|
|
13773
|
+
* the corresponding flags.
|
|
13774
|
+
*/
|
|
13775
|
+
export namespace UriHideFlags {
|
|
13776
|
+
export const $gtype: GObject.GType<UriHideFlags>;
|
|
13777
|
+
}
|
|
13778
|
+
|
|
13313
13779
|
enum UriHideFlags {
|
|
13314
13780
|
/**
|
|
13315
13781
|
* No flags set.
|
|
@@ -13340,6 +13806,15 @@ export namespace GLib {
|
|
|
13340
13806
|
* Flags modifying the way parameters are handled by g_uri_parse_params() and
|
|
13341
13807
|
* #GUriParamsIter.
|
|
13342
13808
|
*/
|
|
13809
|
+
|
|
13810
|
+
/**
|
|
13811
|
+
* Flags modifying the way parameters are handled by g_uri_parse_params() and
|
|
13812
|
+
* #GUriParamsIter.
|
|
13813
|
+
*/
|
|
13814
|
+
export namespace UriParamsFlags {
|
|
13815
|
+
export const $gtype: GObject.GType<UriParamsFlags>;
|
|
13816
|
+
}
|
|
13817
|
+
|
|
13343
13818
|
enum UriParamsFlags {
|
|
13344
13819
|
/**
|
|
13345
13820
|
* No flags set.
|
|
@@ -26427,4 +26902,5 @@ export namespace GLib {
|
|
|
26427
26902
|
}
|
|
26428
26903
|
|
|
26429
26904
|
export default GLib;
|
|
26905
|
+
|
|
26430
26906
|
// END
|
package/glib-2.0.js
CHANGED
package/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type Definitions for Gjs (https://gjs.guide/)
|
|
3
|
+
*
|
|
4
|
+
* These type definitions are automatically generated, do not edit them by hand.
|
|
5
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
|
|
6
|
+
*
|
|
7
|
+
* This template is used to generate the index.d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import './glib-2.0-ambient.d.ts';
|
|
11
|
+
|
|
12
|
+
import './glib-2.0-import.d.ts';
|
|
13
|
+
|
|
14
|
+
import GLib from './glib-2.0.js';
|
|
15
|
+
export default GLib;
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/glib-2.0",
|
|
3
|
-
"version": "2.80.3-4.0.0-beta.
|
|
3
|
+
"version": "2.80.3-4.0.0-beta.11",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "glib-2.0.js",
|
|
@@ -16,18 +16,23 @@
|
|
|
16
16
|
"import": "./glib-2.0-import.js",
|
|
17
17
|
"default": "./glib-2.0-import.js"
|
|
18
18
|
},
|
|
19
|
-
".": {
|
|
19
|
+
"./glib-2.0": {
|
|
20
20
|
"types": "./glib-2.0.d.ts",
|
|
21
21
|
"import": "./glib-2.0.js",
|
|
22
22
|
"default": "./glib-2.0.js"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"import": "./index.js",
|
|
27
|
+
"default": "./index.js"
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"scripts": {
|
|
26
31
|
"test": "tsc --project tsconfig.json"
|
|
27
32
|
},
|
|
28
33
|
"dependencies": {
|
|
29
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
30
|
-
"@girs/gobject-2.0": "^2.80.3-4.0.0-beta.
|
|
34
|
+
"@girs/gjs": "^4.0.0-beta.11",
|
|
35
|
+
"@girs/gobject-2.0": "^2.80.3-4.0.0-beta.11"
|
|
31
36
|
},
|
|
32
37
|
"devDependencies": {
|
|
33
38
|
"typescript": "*"
|
package/tsconfig.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
// General settings for code interpretation
|
|
4
4
|
"target": "ESNext",
|
|
5
|
-
"module": "
|
|
5
|
+
"module": "NodeNext",
|
|
6
6
|
"lib": ["ESNext"],
|
|
7
7
|
"types": [],
|
|
8
8
|
"experimentalDecorators": true,
|
|
9
|
-
"moduleResolution": "
|
|
9
|
+
"moduleResolution": "NodeNext",
|
|
10
10
|
"noEmit": true,
|
|
11
11
|
"noEmitOnError": false,
|
|
12
12
|
"baseUrl": "./",
|