@@ -303,9 +303,6 @@ declare namespace Deno {
303
303
/** Provide full support for iterables in `for..of`, spread and
304
304
* destructuring when targeting ES5 or ES3. Defaults to `false`. */
305
305
downlevelIteration ?: boolean ;
306
- /** Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
307
- * Defaults to `false`. */
308
- emitBOM ?: boolean ;
309
306
/** Only emit `.d.ts` declaration files. Defaults to `false`. */
310
307
emitDeclarationOnly ?: boolean ;
311
308
/** Emit design-type metadata for decorated declarations in source. See issue
@@ -316,29 +313,32 @@ declare namespace Deno {
316
313
* ecosystem compatibility and enable `allowSyntheticDefaultImports` for type
317
314
* system compatibility. Defaults to `true`. */
318
315
esModuleInterop ?: boolean ;
319
- /** Enables experimental support for ES decorators. Defaults to `false `. */
316
+ /** Enables experimental support for ES decorators. Defaults to `true `. */
320
317
experimentalDecorators ?: boolean ;
318
+ /** Import emit helpers (e.g. `__extends`, `__rest`, etc..) from
319
+ * [tslib](https://www.npmjs.com/package/tslib). */
320
+ importHelpers ?: boolean ;
321
321
/** Emit a single file with source maps instead of having a separate file.
322
322
* Defaults to `false`. */
323
323
inlineSourceMap ?: boolean ;
324
324
/** Emit the source alongside the source maps within a single file; requires
325
325
* `inlineSourceMap` or `sourceMap` to be set. Defaults to `false`. */
326
326
inlineSources ?: boolean ;
327
327
/** Perform additional checks to ensure that transpile only would be safe.
328
- * Defaults to `false `. */
328
+ * Defaults to `true `. */
329
329
isolatedModules ?: boolean ;
330
330
/** Support JSX in `.tsx` files: `"react"`, `"preserve"`, `"react-native"`.
331
331
* Defaults to `"react"`. */
332
332
jsx ?: "react" | "preserve" | "react-native" ;
333
333
/** Specify the JSX factory function to use when targeting react JSX emit,
334
334
* e.g. `React.createElement` or `h`. Defaults to `React.createElement`. */
335
335
jsxFactory ?: string ;
336
+ /** Specify the JSX fragment factory function to use when targeting react
337
+ * JSX emit, e.g. `Fragment`. Defaults to `React.Fragment`. */
338
+ jsxFragmentFactory ?: string ;
336
339
/** Resolve keyof to string valued property names only (no numbers or
337
340
* symbols). Defaults to `false`. */
338
341
keyofStringsOnly ?: string ;
339
- /** Emit class fields with ECMAScript-standard semantics. Defaults to `false`.
340
- */
341
- useDefineForClassFields ?: boolean ;
342
342
/** List of library files to be included in the compilation. If omitted,
343
343
* then the Deno main runtime libs are used. */
344
344
lib ?: string [ ] ;
@@ -389,10 +389,6 @@ declare namespace Deno {
389
389
noUnusedLocals ?: boolean ;
390
390
/** Report errors on unused parameters. Defaults to `false`. */
391
391
noUnusedParameters ?: boolean ;
392
- /** Redirect output structure to the directory. This only impacts
393
- * `Deno.compile` and only changes the emitted file names. Defaults to
394
- * `undefined`. */
395
- outDir ?: string ;
396
392
/** List of path mapping entries for module names to locations relative to the
397
393
* `baseUrl`. Defaults to `undefined`. */
398
394
paths ?: Record < string , string [ ] > ;
@@ -402,8 +398,6 @@ declare namespace Deno {
402
398
/** Remove all comments except copy-right header comments beginning with
403
399
* `/*!`. Defaults to `true`. */
404
400
removeComments ?: boolean ;
405
- /** Include modules imported with `.json` extension. Defaults to `true`. */
406
- resolveJsonModule ?: boolean ;
407
401
/** Specifies the root directory of input files. Only use to control the
408
402
* output directory structure with `outDir`. Defaults to `undefined`. */
409
403
rootDir ?: string ;
@@ -418,6 +412,8 @@ declare namespace Deno {
418
412
* specified will be embedded in the sourceMap to direct the debugger where
419
413
* the source files will be located. Defaults to `undefined`. */
420
414
sourceRoot ?: string ;
415
+ /** Skip type checking of all declaration files (`*.d.ts`). */
416
+ skipLibCheck ?: boolean ;
421
417
/** Enable all strict type checking options. Enabling `strict` enables
422
418
* `noImplicitAny`, `noImplicitThis`, `alwaysStrict`, `strictBindCallApply`,
423
419
* `strictNullChecks`, `strictFunctionTypes` and
@@ -472,6 +468,9 @@ declare namespace Deno {
472
468
* ```
473
469
*/
474
470
types ?: string [ ] ;
471
+ /** Emit class fields with ECMAScript-standard semantics. Defaults to
472
+ * `false`. */
473
+ useDefineForClassFields ?: boolean ;
475
474
}
476
475
477
476
/** **UNSTABLE**: new API, yet to be vetted.
0 commit comments