|
11 | 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ |
12 | 12 |
|
13 | 13 | /* Language and Environment */ |
14 | | - "target": "ES2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| 14 | + "target": "ES2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
15 | 15 | "lib": ["ESNext", "DOM", "ScriptHost"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ |
16 | 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ |
17 | 17 | // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ |
|
32 | 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ |
33 | 33 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ |
34 | 34 | // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ |
35 | | - "types": ["bun-types", "@types/node"], /* Specify type package names to be included without being referenced in a source file. */ |
| 35 | + "types": ["bun-types"], /* Specify type package names to be included without being referenced in a source file. */ |
36 | 36 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ |
37 | 37 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ |
38 | 38 | // "resolveJsonModule": true, /* Enable importing .json files. */ |
|
44 | 44 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ |
45 | 45 |
|
46 | 46 | /* Emit */ |
47 | | - "declaration": false, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
| 47 | + "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
48 | 48 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */ |
49 | 49 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ |
50 | 50 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
51 | 51 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ |
52 | 52 | "outDir": "./dist/cjs", /* Specify an output folder for all emitted files. */ |
53 | | - // "removeComments": true, /* Disable emitting comments. */ |
| 53 | + "removeComments": true, /* Disable emitting comments. */ |
54 | 54 | // "noEmit": true, /* Disable emitting files from a compilation. */ |
55 | 55 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ |
56 | 56 | // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ |
|
71 | 71 | /* Interop Constraints */ |
72 | 72 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ |
73 | 73 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ |
74 | | - "esModuleInterop": false, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
| 74 | + "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
75 | 75 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ |
76 | 76 | "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
77 | 77 |
|
|
0 commit comments