0000: 7b 0a 20 20 22 63 6f 6d 70 69 6c 65 72 4f 70 74 {. "compilerOpt
0010: 69 6f 6e 73 22 3a 20 7b 0a 20 20 20 20 2f 2a 20 ions": {. /*
0020: 42 61 73 69 63 20 4f 70 74 69 6f 6e 73 20 2a 2f Basic Options */
0030: 0a 20 20 20 20 22 74 61 72 67 65 74 22 3a 20 22 . "target": "
0040: 45 53 32 30 31 37 22 2c 20 20 20 20 20 20 20 20 ES2017",
0050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0060: 20 20 2f 2a 20 53 70 65 63 69 66 79 20 45 43 4d /* Specify ECM
0070: 41 53 63 72 69 70 74 20 74 61 72 67 65 74 20 76 AScript target v
0080: 65 72 73 69 6f 6e 3a 20 27 45 53 33 27 20 28 64 ersion: 'ES3' (d
0090: 65 66 61 75 6c 74 29 2c 20 27 45 53 35 27 2c 20 efault), 'ES5',
00a0: 27 45 53 32 30 31 35 27 2c 20 27 45 53 32 30 31 'ES2015', 'ES201
00b0: 36 27 2c 20 27 45 53 32 30 31 37 27 2c 27 45 53 6', 'ES2017','ES
00c0: 32 30 31 38 27 20 6f 72 20 27 45 53 4e 45 58 54 2018' or 'ESNEXT
00d0: 27 2e 20 2a 2f 0a 20 20 20 20 22 6d 6f 64 75 6c '. */. "modul
00e0: 65 22 3a 20 22 63 6f 6d 6d 6f 6e 6a 73 22 2c 20 e": "commonjs",
00f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0100: 20 20 20 20 2f 2a 20 53 70 65 63 69 66 79 20 6d /* Specify m
0110: 6f 64 75 6c 65 20 63 6f 64 65 20 67 65 6e 65 72 odule code gener
0120: 61 74 69 6f 6e 3a 20 27 6e 6f 6e 65 27 2c 20 27 ation: 'none', '
0130: 63 6f 6d 6d 6f 6e 6a 73 27 2c 20 27 61 6d 64 27 commonjs', 'amd'
0140: 2c 20 27 73 79 73 74 65 6d 27 2c 20 27 75 6d 64 , 'system', 'umd
0150: 27 2c 20 27 65 73 32 30 31 35 27 2c 20 6f 72 20 ', 'es2015', or
0160: 27 45 53 4e 65 78 74 27 2e 20 2a 2f 0a 20 20 20 'ESNext'. */.
0170: 20 22 6c 69 62 22 3a 20 5b 22 65 73 32 30 31 37 "lib": ["es2017
0180: 22 2c 20 22 65 73 36 22 5d 2c 20 20 20 20 20 20 ", "es6"],
0190: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
01a0: 20 20 20 20 20 20 20 2f 2a 20 53 70 65 63 69 66 /* Specif
01b0: 79 20 6c 69 62 72 61 72 79 20 66 69 6c 65 73 20 y library files
01c0: 74 6f 20 62 65 20 69 6e 63 6c 75 64 65 64 20 69 to be included i
01d0: 6e 20 74 68 65 20 63 6f 6d 70 69 6c 61 74 69 6f n the compilatio
01e0: 6e 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 61 6c n. */. // "al
01f0: 6c 6f 77 4a 73 22 3a 20 74 72 75 65 2c 20 20 20 lowJs": true,
0200: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0210: 20 20 20 20 2f 2a 20 41 6c 6c 6f 77 20 6a 61 76 /* Allow jav
0220: 61 73 63 72 69 70 74 20 66 69 6c 65 73 20 74 6f ascript files to
0230: 20 62 65 20 63 6f 6d 70 69 6c 65 64 2e 20 2a 2f be compiled. */
0240: 0a 20 20 20 20 2f 2f 20 22 63 68 65 63 6b 4a 73 . // "checkJs
0250: 22 3a 20 74 72 75 65 2c 20 20 20 20 20 20 20 20 ": true,
0260: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f /
0270: 2a 20 52 65 70 6f 72 74 20 65 72 72 6f 72 73 20 * Report errors
0280: 69 6e 20 2e 6a 73 20 66 69 6c 65 73 2e 20 2a 2f in .js files. */
0290: 0a 20 20 20 20 2f 2f 20 22 6a 73 78 22 3a 20 22 . // "jsx": "
02a0: 70 72 65 73 65 72 76 65 22 2c 20 20 20 20 20 20 preserve",
02b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f /
02c0: 2a 20 53 70 65 63 69 66 79 20 4a 53 58 20 63 6f * Specify JSX co
02d0: 64 65 20 67 65 6e 65 72 61 74 69 6f 6e 3a 20 27 de generation: '
02e0: 70 72 65 73 65 72 76 65 27 2c 20 27 72 65 61 63 preserve', 'reac
02f0: 74 2d 6e 61 74 69 76 65 27 2c 20 6f 72 20 27 72 t-native', or 'r
0300: 65 61 63 74 27 2e 20 2a 2f 0a 20 20 20 20 2f 2f eact'. */. //
0310: 20 22 64 65 63 6c 61 72 61 74 69 6f 6e 22 3a 20 "declaration":
0320: 74 72 75 65 2c 20 20 20 20 20 20 20 20 20 20 20 true,
0330: 20 20 20 20 20 20 20 20 2f 2a 20 47 65 6e 65 72 /* Gener
0340: 61 74 65 73 20 63 6f 72 72 65 73 70 6f 6e 64 69 ates correspondi
0350: 6e 67 20 27 2e 64 2e 74 73 27 20 66 69 6c 65 2e ng '.d.ts' file.
0360: 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 73 6f 75 72 */. // "sour
0370: 63 65 4d 61 70 22 3a 20 74 72 75 65 2c 20 20 20 ceMap": true,
0380: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0390: 20 20 2f 2a 20 47 65 6e 65 72 61 74 65 73 20 63 /* Generates c
03a0: 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 27 2e 6d orresponding '.m
03b0: 61 70 27 20 66 69 6c 65 2e 20 2a 2f 0a 20 20 20 ap' file. */.
03c0: 20 2f 2f 20 22 6f 75 74 46 69 6c 65 22 3a 20 22 // "outFile": "
03d0: 2e 2f 22 2c 20 20 20 20 20 20 20 20 20 20 20 20 ./",
03e0: 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 43 6f /* Co
03f0: 6e 63 61 74 65 6e 61 74 65 20 61 6e 64 20 65 6d ncatenate and em
0400: 69 74 20 6f 75 74 70 75 74 20 74 6f 20 73 69 6e it output to sin
0410: 67 6c 65 20 66 69 6c 65 2e 20 2a 2f 0a 20 20 20 gle file. */.
0420: 20 2f 2f 20 22 6f 75 74 44 69 72 22 3a 20 22 2e // "outDir": ".
0430: 2f 22 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 /",
0440: 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 52 65 /* Re
0450: 64 69 72 65 63 74 20 6f 75 74 70 75 74 20 73 74 direct output st
0460: 72 75 63 74 75 72 65 20 74 6f 20 74 68 65 20 64 ructure to the d
0470: 69 72 65 63 74 6f 72 79 2e 20 2a 2f 0a 20 20 20 irectory. */.
0480: 20 2f 2f 20 22 72 6f 6f 74 44 69 72 22 3a 20 22 // "rootDir": "
0490: 2e 2f 22 2c 20 20 20 20 20 20 20 20 20 20 20 20 ./",
04a0: 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 53 70 /* Sp
04b0: 65 63 69 66 79 20 74 68 65 20 72 6f 6f 74 20 64 ecify the root d
04c0: 69 72 65 63 74 6f 72 79 20 6f 66 20 69 6e 70 75 irectory of inpu
04d0: 74 20 66 69 6c 65 73 2e 20 55 73 65 20 74 6f 20 t files. Use to
04e0: 63 6f 6e 74 72 6f 6c 20 74 68 65 20 6f 75 74 70 control the outp
04f0: 75 74 20 64 69 72 65 63 74 6f 72 79 20 73 74 72 ut directory str
0500: 75 63 74 75 72 65 20 77 69 74 68 20 2d 2d 6f 75 ucture with --ou
0510: 74 44 69 72 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 tDir. */. //
0520: 22 72 65 6d 6f 76 65 43 6f 6d 6d 65 6e 74 73 22 "removeComments"
0530: 3a 20 74 72 75 65 2c 20 20 20 20 20 20 20 20 20 : true,
0540: 20 20 20 20 20 20 20 2f 2a 20 44 6f 20 6e 6f 74 /* Do not
0550: 20 65 6d 69 74 20 63 6f 6d 6d 65 6e 74 73 20 74 emit comments t
0560: 6f 20 6f 75 74 70 75 74 2e 20 2a 2f 0a 20 20 20 o output. */.
0570: 20 2f 2f 20 22 6e 6f 45 6d 69 74 22 3a 20 74 72 // "noEmit": tr
0580: 75 65 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 ue,
0590: 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 44 6f /* Do
05a0: 20 6e 6f 74 20 65 6d 69 74 20 6f 75 74 70 75 74 not emit output
05b0: 73 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 69 6d s. */. // "im
05c0: 70 6f 72 74 48 65 6c 70 65 72 73 22 3a 20 74 72 portHelpers": tr
05d0: 75 65 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 ue,
05e0: 20 20 20 20 2f 2a 20 49 6d 70 6f 72 74 20 65 6d /* Import em
05f0: 69 74 20 68 65 6c 70 65 72 73 20 66 72 6f 6d 20 it helpers from
0600: 27 74 73 6c 69 62 27 2e 20 2a 2f 0a 20 20 20 20 'tslib'. */.
0610: 2f 2f 20 22 64 6f 77 6e 6c 65 76 65 6c 49 74 65 // "downlevelIte
0620: 72 61 74 69 6f 6e 22 3a 20 74 72 75 65 2c 20 20 ration": true,
0630: 20 20 20 20 20 20 20 20 20 20 2f 2a 20 50 72 6f /* Pro
0640: 76 69 64 65 20 66 75 6c 6c 20 73 75 70 70 6f 72 vide full suppor
0650: 74 20 66 6f 72 20 69 74 65 72 61 62 6c 65 73 20 t for iterables
0660: 69 6e 20 27 66 6f 72 2d 6f 66 27 2c 20 73 70 72 in 'for-of', spr
0670: 65 61 64 2c 20 61 6e 64 20 64 65 73 74 72 75 63 ead, and destruc
0680: 74 75 72 69 6e 67 20 77 68 65 6e 20 74 61 72 67 turing when targ
0690: 65 74 69 6e 67 20 27 45 53 35 27 20 6f 72 20 27 eting 'ES5' or '
06a0: 45 53 33 27 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 ES3'. */. //
06b0: 22 69 73 6f 6c 61 74 65 64 4d 6f 64 75 6c 65 73 "isolatedModules
06c0: 22 3a 20 74 72 75 65 2c 20 20 20 20 20 20 20 20 ": true,
06d0: 20 20 20 20 20 20 20 2f 2a 20 54 72 61 6e 73 70 /* Transp
06e0: 69 6c 65 20 65 61 63 68 20 66 69 6c 65 20 61 73 ile each file as
06f0: 20 61 20 73 65 70 61 72 61 74 65 20 6d 6f 64 75 a separate modu
0700: 6c 65 20 28 73 69 6d 69 6c 61 72 20 74 6f 20 27 le (similar to '
0710: 74 73 2e 74 72 61 6e 73 70 69 6c 65 4d 6f 64 75 ts.transpileModu
0720: 6c 65 27 29 2e 20 2a 2f 0a 0a 20 20 20 20 2f 2a le'). */.. /*
0730: 20 53 74 72 69 63 74 20 54 79 70 65 2d 43 68 65 Strict Type-Che
0740: 63 6b 69 6e 67 20 4f 70 74 69 6f 6e 73 20 2a 2f cking Options */
0750: 0a 20 20 20 20 22 73 74 72 69 63 74 22 3a 20 74 . "strict": t
0760: 72 75 65 2c 20 20 20 20 20 20 20 20 20 20 20 20 rue,
0770: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f /
0780: 2a 20 45 6e 61 62 6c 65 20 61 6c 6c 20 73 74 72 * Enable all str
0790: 69 63 74 20 74 79 70 65 2d 63 68 65 63 6b 69 6e ict type-checkin
07a0: 67 20 6f 70 74 69 6f 6e 73 2e 20 2a 2f 0a 20 20 g options. */.
07b0: 20 20 22 6e 6f 49 6d 70 6c 69 63 69 74 41 6e 79 "noImplicitAny
07c0: 22 3a 20 66 61 6c 73 65 2c 20 20 20 20 20 20 20 ": false,
07d0: 20 20 20 20 20 20 20 20 20 20 2f 2a 20 52 61 69 /* Rai
07e0: 73 65 20 65 72 72 6f 72 20 6f 6e 20 65 78 70 72 se error on expr
07f0: 65 73 73 69 6f 6e 73 20 61 6e 64 20 64 65 63 6c essions and decl
0800: 61 72 61 74 69 6f 6e 73 20 77 69 74 68 20 61 6e arations with an
0810: 20 69 6d 70 6c 69 65 64 20 27 61 6e 79 27 20 74 implied 'any' t
0820: 79 70 65 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 ype. */. // "
0830: 73 74 72 69 63 74 4e 75 6c 6c 43 68 65 63 6b 73 strictNullChecks
0840: 22 3a 20 74 72 75 65 2c 20 20 20 20 20 20 20 20 ": true,
0850: 20 20 20 20 20 20 2f 2a 20 45 6e 61 62 6c 65 20 /* Enable
0860: 73 74 72 69 63 74 20 6e 75 6c 6c 20 63 68 65 63 strict null chec
0870: 6b 73 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 73 ks. */. // "s
0880: 74 72 69 63 74 46 75 6e 63 74 69 6f 6e 54 79 70 trictFunctionTyp
0890: 65 73 22 3a 20 74 72 75 65 2c 20 20 20 20 20 20 es": true,
08a0: 20 20 20 20 20 2f 2a 20 45 6e 61 62 6c 65 20 73 /* Enable s
08b0: 74 72 69 63 74 20 63 68 65 63 6b 69 6e 67 20 6f trict checking o
08c0: 66 20 66 75 6e 63 74 69 6f 6e 20 74 79 70 65 73 f function types
08d0: 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 73 74 72 . */. // "str
08e0: 69 63 74 50 72 6f 70 65 72 74 79 49 6e 69 74 69 ictPropertyIniti
08f0: 61 6c 69 7a 61 74 69 6f 6e 22 3a 20 74 72 75 65 alization": true
0900: 2c 20 20 2f 2a 20 45 6e 61 62 6c 65 20 73 74 72 , /* Enable str
0910: 69 63 74 20 63 68 65 63 6b 69 6e 67 20 6f 66 20 ict checking of
0920: 70 72 6f 70 65 72 74 79 20 69 6e 69 74 69 61 6c property initial
0930: 69 7a 61 74 69 6f 6e 20 69 6e 20 63 6c 61 73 73 ization in class
0940: 65 73 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 6e es. */. // "n
0950: 6f 49 6d 70 6c 69 63 69 74 54 68 69 73 22 3a 20 oImplicitThis":
0960: 74 72 75 65 2c 20 20 20 20 20 20 20 20 20 20 20 true,
0970: 20 20 20 20 20 2f 2a 20 52 61 69 73 65 20 65 72 /* Raise er
0980: 72 6f 72 20 6f 6e 20 27 74 68 69 73 27 20 65 78 ror on 'this' ex
0990: 70 72 65 73 73 69 6f 6e 73 20 77 69 74 68 20 61 pressions with a
09a0: 6e 20 69 6d 70 6c 69 65 64 20 27 61 6e 79 27 20 n implied 'any'
09b0: 74 79 70 65 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 type. */. //
09c0: 22 61 6c 77 61 79 73 53 74 72 69 63 74 22 3a 20 "alwaysStrict":
09d0: 74 72 75 65 2c 20 20 20 20 20 20 20 20 20 20 20 true,
09e0: 20 20 20 20 20 20 20 2f 2a 20 50 61 72 73 65 20 /* Parse
09f0: 69 6e 20 73 74 72 69 63 74 20 6d 6f 64 65 20 61 in strict mode a
0a00: 6e 64 20 65 6d 69 74 20 22 75 73 65 20 73 74 72 nd emit "use str
0a10: 69 63 74 22 20 66 6f 72 20 65 61 63 68 20 73 6f ict" for each so
0a20: 75 72 63 65 20 66 69 6c 65 2e 20 2a 2f 0a 0a 20 urce file. */..
0a30: 20 20 20 2f 2a 20 41 64 64 69 74 69 6f 6e 61 6c /* Additional
0a40: 20 43 68 65 63 6b 73 20 2a 2f 0a 20 20 20 20 2f Checks */. /
0a50: 2f 20 22 6e 6f 55 6e 75 73 65 64 4c 6f 63 61 6c / "noUnusedLocal
0a60: 73 22 3a 20 74 72 75 65 2c 20 20 20 20 20 20 20 s": true,
0a70: 20 20 20 20 20 20 20 20 20 2f 2a 20 52 65 70 6f /* Repo
0a80: 72 74 20 65 72 72 6f 72 73 20 6f 6e 20 75 6e 75 rt errors on unu
0a90: 73 65 64 20 6c 6f 63 61 6c 73 2e 20 2a 2f 0a 20 sed locals. */.
0aa0: 20 20 20 2f 2f 20 22 6e 6f 55 6e 75 73 65 64 50 // "noUnusedP
0ab0: 61 72 61 6d 65 74 65 72 73 22 3a 20 74 72 75 65 arameters": true
0ac0: 2c 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 , /*
0ad0: 52 65 70 6f 72 74 20 65 72 72 6f 72 73 20 6f 6e Report errors on
0ae0: 20 75 6e 75 73 65 64 20 70 61 72 61 6d 65 74 65 unused paramete
0af0: 72 73 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 6e rs. */. // "n
0b00: 6f 49 6d 70 6c 69 63 69 74 52 65 74 75 72 6e 73 oImplicitReturns
0b10: 22 3a 20 74 72 75 65 2c 20 20 20 20 20 20 20 20 ": true,
0b20: 20 20 20 20 20 2f 2a 20 52 65 70 6f 72 74 20 65 /* Report e
0b30: 72 72 6f 72 20 77 68 65 6e 20 6e 6f 74 20 61 6c rror when not al
0b40: 6c 20 63 6f 64 65 20 70 61 74 68 73 20 69 6e 20 l code paths in
0b50: 66 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e 20 function return
0b60: 61 20 76 61 6c 75 65 2e 20 2a 2f 0a 20 20 20 20 a value. */.
0b70: 2f 2f 20 22 6e 6f 46 61 6c 6c 74 68 72 6f 75 67 // "noFallthroug
0b80: 68 43 61 73 65 73 49 6e 53 77 69 74 63 68 22 3a hCasesInSwitch":
0b90: 20 74 72 75 65 2c 20 20 20 20 2f 2a 20 52 65 70 true, /* Rep
0ba0: 6f 72 74 20 65 72 72 6f 72 73 20 66 6f 72 20 66 ort errors for f
0bb0: 61 6c 6c 74 68 72 6f 75 67 68 20 63 61 73 65 73 allthrough cases
0bc0: 20 69 6e 20 73 77 69 74 63 68 20 73 74 61 74 65 in switch state
0bd0: 6d 65 6e 74 2e 20 2a 2f 0a 0a 20 20 20 20 2f 2a ment. */.. /*
0be0: 20 4d 6f 64 75 6c 65 20 52 65 73 6f 6c 75 74 69 Module Resoluti
0bf0: 6f 6e 20 4f 70 74 69 6f 6e 73 20 2a 2f 0a 20 20 on Options */.
0c00: 20 20 2f 2f 20 22 6d 6f 64 75 6c 65 52 65 73 6f // "moduleReso
0c10: 6c 75 74 69 6f 6e 22 3a 20 22 6e 6f 64 65 22 2c lution": "node",
0c20: 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 53 /* S
0c30: 70 65 63 69 66 79 20 6d 6f 64 75 6c 65 20 72 65 pecify module re
0c40: 73 6f 6c 75 74 69 6f 6e 20 73 74 72 61 74 65 67 solution strateg
0c50: 79 3a 20 27 6e 6f 64 65 27 20 28 4e 6f 64 65 2e y: 'node' (Node.
0c60: 6a 73 29 20 6f 72 20 27 63 6c 61 73 73 69 63 27 js) or 'classic'
0c70: 20 28 54 79 70 65 53 63 72 69 70 74 20 70 72 65 (TypeScript pre
0c80: 2d 31 2e 36 29 2e 20 2a 2f 0a 20 20 20 20 2f 2f -1.6). */. //
0c90: 20 22 62 61 73 65 55 72 6c 22 3a 20 22 2e 2f 22 "baseUrl": "./"
0ca0: 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ,
0cb0: 20 20 20 20 20 20 20 20 2f 2a 20 42 61 73 65 20 /* Base
0cc0: 64 69 72 65 63 74 6f 72 79 20 74 6f 20 72 65 73 directory to res
0cd0: 6f 6c 76 65 20 6e 6f 6e 2d 61 62 73 6f 6c 75 74 olve non-absolut
0ce0: 65 20 6d 6f 64 75 6c 65 20 6e 61 6d 65 73 2e 20 e module names.
0cf0: 2a 2f 0a 20 20 20 20 2f 2f 20 22 70 61 74 68 73 */. // "paths
0d00: 22 3a 20 7b 7d 2c 20 20 20 20 20 20 20 20 20 20 ": {},
0d10: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0d20: 20 2f 2a 20 41 20 73 65 72 69 65 73 20 6f 66 20 /* A series of
0d30: 65 6e 74 72 69 65 73 20 77 68 69 63 68 20 72 65 entries which re
0d40: 2d 6d 61 70 20 69 6d 70 6f 72 74 73 20 74 6f 20 -map imports to
0d50: 6c 6f 6f 6b 75 70 20 6c 6f 63 61 74 69 6f 6e 73 lookup locations
0d60: 20 72 65 6c 61 74 69 76 65 20 74 6f 20 74 68 65 relative to the
0d70: 20 27 62 61 73 65 55 72 6c 27 2e 20 2a 2f 0a 20 'baseUrl'. */.
0d80: 20 20 20 2f 2f 20 22 72 6f 6f 74 44 69 72 73 22 // "rootDirs"
0d90: 3a 20 5b 5d 2c 20 20 20 20 20 20 20 20 20 20 20 : [],
0da0: 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 /*
0db0: 4c 69 73 74 20 6f 66 20 72 6f 6f 74 20 66 6f 6c List of root fol
0dc0: 64 65 72 73 20 77 68 6f 73 65 20 63 6f 6d 62 69 ders whose combi
0dd0: 6e 65 64 20 63 6f 6e 74 65 6e 74 20 72 65 70 72 ned content repr
0de0: 65 73 65 6e 74 73 20 74 68 65 20 73 74 72 75 63 esents the struc
0df0: 74 75 72 65 20 6f 66 20 74 68 65 20 70 72 6f 6a ture of the proj
0e00: 65 63 74 20 61 74 20 72 75 6e 74 69 6d 65 2e 20 ect at runtime.
0e10: 2a 2f 0a 20 20 20 20 22 74 79 70 65 52 6f 6f 74 */. "typeRoot
0e20: 73 22 3a 20 5b 22 2e 2f 74 79 70 69 6e 67 73 22 s": ["./typings"
0e30: 2c 20 22 6e 6f 64 65 5f 6d 6f 64 75 6c 65 73 2f , "node_modules/
0e40: 40 74 79 70 65 73 22 5d 2c 20 20 20 20 20 20 20 @types"],
0e50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0e60: 2f 2a 20 4c 69 73 74 20 6f 66 20 66 6f 6c 64 65 /* List of folde
0e70: 72 73 20 74 6f 20 69 6e 63 6c 75 64 65 20 74 79 rs to include ty
0e80: 70 65 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 66 pe definitions f
0e90: 72 6f 6d 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 rom. */. // "
0ea0: 74 79 70 65 73 22 3a 20 5b 5d 2c 20 20 20 20 20 types": [],
0eb0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0ec0: 20 20 20 20 20 20 2f 2a 20 54 79 70 65 20 64 65 /* Type de
0ed0: 63 6c 61 72 61 74 69 6f 6e 20 66 69 6c 65 73 20 claration files
0ee0: 74 6f 20 62 65 20 69 6e 63 6c 75 64 65 64 20 69 to be included i
0ef0: 6e 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 2e 20 2a n compilation. *
0f00: 2f 0a 20 20 20 20 20 22 61 6c 6c 6f 77 53 79 6e /. "allowSyn
0f10: 74 68 65 74 69 63 44 65 66 61 75 6c 74 49 6d 70 theticDefaultImp
0f20: 6f 72 74 73 22 3a 20 74 72 75 65 2c 20 20 2f 2a orts": true, /*
0f30: 20 41 6c 6c 6f 77 20 64 65 66 61 75 6c 74 20 69 Allow default i
0f40: 6d 70 6f 72 74 73 20 66 72 6f 6d 20 6d 6f 64 75 mports from modu
0f50: 6c 65 73 20 77 69 74 68 20 6e 6f 20 64 65 66 61 les with no defa
0f60: 75 6c 74 20 65 78 70 6f 72 74 2e 20 54 68 69 73 ult export. This
0f70: 20 64 6f 65 73 20 6e 6f 74 20 61 66 66 65 63 74 does not affect
0f80: 20 63 6f 64 65 20 65 6d 69 74 2c 20 6a 75 73 74 code emit, just
0f90: 20 74 79 70 65 63 68 65 63 6b 69 6e 67 2e 20 2a typechecking. *
0fa0: 2f 0a 20 20 20 20 22 65 73 4d 6f 64 75 6c 65 49 /. "esModuleI
0fb0: 6e 74 65 72 6f 70 22 3a 20 74 72 75 65 2c 20 20 nterop": true,
0fc0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0fd0: 20 2f 2a 20 45 6e 61 62 6c 65 73 20 65 6d 69 74 /* Enables emit
0fe0: 20 69 6e 74 65 72 6f 70 65 72 61 62 69 6c 69 74 interoperabilit
0ff0: 79 20 62 65 74 77 65 65 6e 20 43 6f 6d 6d 6f 6e y between Common
1000: 4a 53 20 61 6e 64 20 45 53 20 4d 6f 64 75 6c 65 JS and ES Module
1010: 73 20 76 69 61 20 63 72 65 61 74 69 6f 6e 20 6f s via creation o
1020: 66 20 6e 61 6d 65 73 70 61 63 65 20 6f 62 6a 65 f namespace obje
1030: 63 74 73 20 66 6f 72 20 61 6c 6c 20 69 6d 70 6f cts for all impo
1040: 72 74 73 2e 20 49 6d 70 6c 69 65 73 20 27 61 6c rts. Implies 'al
1050: 6c 6f 77 53 79 6e 74 68 65 74 69 63 44 65 66 61 lowSyntheticDefa
1060: 75 6c 74 49 6d 70 6f 72 74 73 27 2e 20 2a 2f 0a ultImports'. */.
1070: 20 20 20 20 2f 2f 20 22 70 72 65 73 65 72 76 65 // "preserve
1080: 53 79 6d 6c 69 6e 6b 73 22 3a 20 74 72 75 65 2c Symlinks": true,
1090: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a /*
10a0: 20 44 6f 20 6e 6f 74 20 72 65 73 6f 6c 76 65 20 Do not resolve
10b0: 74 68 65 20 72 65 61 6c 20 70 61 74 68 20 6f 66 the real path of
10c0: 20 73 79 6d 6c 69 6e 6b 73 2e 20 2a 2f 0a 0a 20 symlinks. */..
10d0: 20 20 20 2f 2a 20 53 6f 75 72 63 65 20 4d 61 70 /* Source Map
10e0: 20 4f 70 74 69 6f 6e 73 20 2a 2f 0a 20 20 20 20 Options */.
10f0: 2f 2f 20 22 73 6f 75 72 63 65 52 6f 6f 74 22 3a // "sourceRoot":
1100: 20 22 2e 2f 22 2c 20 20 20 20 20 20 20 20 20 20 "./",
1110: 20 20 20 20 20 20 20 20 20 20 2f 2a 20 53 70 65 /* Spe
1120: 63 69 66 79 20 74 68 65 20 6c 6f 63 61 74 69 6f cify the locatio
1130: 6e 20 77 68 65 72 65 20 64 65 62 75 67 67 65 72 n where debugger
1140: 20 73 68 6f 75 6c 64 20 6c 6f 63 61 74 65 20 54 should locate T
1150: 79 70 65 53 63 72 69 70 74 20 66 69 6c 65 73 20 ypeScript files
1160: 69 6e 73 74 65 61 64 20 6f 66 20 73 6f 75 72 63 instead of sourc
1170: 65 20 6c 6f 63 61 74 69 6f 6e 73 2e 20 2a 2f 0a e locations. */.
1180: 20 20 20 20 2f 2f 20 22 6d 61 70 52 6f 6f 74 22 // "mapRoot"
1190: 3a 20 22 2e 2f 22 2c 20 20 20 20 20 20 20 20 20 : "./",
11a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a /*
11b0: 20 53 70 65 63 69 66 79 20 74 68 65 20 6c 6f 63 Specify the loc
11c0: 61 74 69 6f 6e 20 77 68 65 72 65 20 64 65 62 75 ation where debu
11d0: 67 67 65 72 20 73 68 6f 75 6c 64 20 6c 6f 63 61 gger should loca
11e0: 74 65 20 6d 61 70 20 66 69 6c 65 73 20 69 6e 73 te map files ins
11f0: 74 65 61 64 20 6f 66 20 67 65 6e 65 72 61 74 65 tead of generate
1200: 64 20 6c 6f 63 61 74 69 6f 6e 73 2e 20 2a 2f 0a d locations. */.
1210: 20 20 20 20 20 22 69 6e 6c 69 6e 65 53 6f 75 72 "inlineSour
1220: 63 65 4d 61 70 22 3a 20 74 72 75 65 2c 20 20 20 ceMap": true,
1230: 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 45 /* E
1240: 6d 69 74 20 61 20 73 69 6e 67 6c 65 20 66 69 6c mit a single fil
1250: 65 20 77 69 74 68 20 73 6f 75 72 63 65 20 6d 61 e with source ma
1260: 70 73 20 69 6e 73 74 65 61 64 20 6f 66 20 68 61 ps instead of ha
1270: 76 69 6e 67 20 61 20 73 65 70 61 72 61 74 65 20 ving a separate
1280: 66 69 6c 65 2e 20 2a 2f 0a 20 20 20 20 20 22 69 file. */. "i
1290: 6e 6c 69 6e 65 53 6f 75 72 63 65 73 22 3a 20 74 nlineSources": t
12a0: 72 75 65 20 20 20 20 20 20 20 20 20 20 20 20 20 rue
12b0: 20 20 20 20 2f 2a 20 45 6d 69 74 20 74 68 65 20 /* Emit the
12c0: 73 6f 75 72 63 65 20 61 6c 6f 6e 67 73 69 64 65 source alongside
12d0: 20 74 68 65 20 73 6f 75 72 63 65 6d 61 70 73 20 the sourcemaps
12e0: 77 69 74 68 69 6e 20 61 20 73 69 6e 67 6c 65 20 within a single
12f0: 66 69 6c 65 3b 20 72 65 71 75 69 72 65 73 20 27 file; requires '
1300: 2d 2d 69 6e 6c 69 6e 65 53 6f 75 72 63 65 4d 61 --inlineSourceMa
1310: 70 27 20 6f 72 20 27 2d 2d 73 6f 75 72 63 65 4d p' or '--sourceM
1320: 61 70 27 20 74 6f 20 62 65 20 73 65 74 2e 20 2a ap' to be set. *
1330: 2f 0a 0a 20 20 20 20 2f 2a 20 45 78 70 65 72 69 /.. /* Experi
1340: 6d 65 6e 74 61 6c 20 4f 70 74 69 6f 6e 73 20 2a mental Options *
1350: 2f 0a 20 20 20 20 2f 2f 20 22 65 78 70 65 72 69 /. // "experi
1360: 6d 65 6e 74 61 6c 44 65 63 6f 72 61 74 6f 72 73 mentalDecorators
1370: 22 3a 20 74 72 75 65 2c 20 20 20 20 20 20 20 20 ": true,
1380: 2f 2a 20 45 6e 61 62 6c 65 73 20 65 78 70 65 72 /* Enables exper
1390: 69 6d 65 6e 74 61 6c 20 73 75 70 70 6f 72 74 20 imental support
13a0: 66 6f 72 20 45 53 37 20 64 65 63 6f 72 61 74 6f for ES7 decorato
13b0: 72 73 2e 20 2a 2f 0a 20 20 20 20 2f 2f 20 22 65 rs. */. // "e
13c0: 6d 69 74 44 65 63 6f 72 61 74 6f 72 4d 65 74 61 mitDecoratorMeta
13d0: 64 61 74 61 22 3a 20 74 72 75 65 2c 20 20 20 20 data": true,
13e0: 20 20 20 20 20 2f 2a 20 45 6e 61 62 6c 65 73 20 /* Enables
13f0: 65 78 70 65 72 69 6d 65 6e 74 61 6c 20 73 75 70 experimental sup
1400: 70 6f 72 74 20 66 6f 72 20 65 6d 69 74 74 69 6e port for emittin
1410: 67 20 74 79 70 65 20 6d 65 74 61 64 61 74 61 20 g type metadata
1420: 66 6f 72 20 64 65 63 6f 72 61 74 6f 72 73 2e 20 for decorators.
1430: 2a 2f 0a 20 20 7d 0a 7d */. }.}