|
11 | 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ |
12 | 12 |
|
13 | 13 | /* Language and Environment */ |
14 | | - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| 14 | + "target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
15 | 15 | // "lib": [], /* 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 legacy experimental decorators. */ |
|
25 | 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ |
26 | 26 |
|
27 | 27 | /* Modules */ |
28 | | - "module": "commonjs", /* Specify what module code is generated. */ |
| 28 | + "module": "ESNext", /* Specify what module code is generated. */ |
29 | 29 | // "rootDir": "./", /* Specify the root folder within your source files. */ |
30 | | - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ |
| 30 | + "moduleResolution": "bundler", /* Specify how TypeScript looks up a file from a given module specifier. */ |
31 | 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ |
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. */ |
|
46 | 46 | // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */ |
47 | 47 |
|
48 | 48 | /* JavaScript Support */ |
49 | | - // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ |
| 49 | + "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ |
50 | 50 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ |
51 | 51 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ |
52 | 52 |
|
|
56 | 56 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ |
57 | 57 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
58 | 58 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ |
59 | | - // "noEmit": true, /* Disable emitting files from a compilation. */ |
| 59 | + "noEmit": true, /* Disable emitting files from a compilation. */ |
60 | 60 | // "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. */ |
61 | 61 | // "outDir": "./", /* Specify an output folder for all emitted files. */ |
62 | 62 | // "removeComments": true, /* Disable emitting comments. */ |
|
74 | 74 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ |
75 | 75 |
|
76 | 76 | /* Interop Constraints */ |
77 | | - // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ |
| 77 | + "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ |
78 | 78 | // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ |
79 | 79 | // "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */ |
80 | 80 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ |
|
109 | 109 | "skipLibCheck": true, /* Skip type checking all .d.ts files. */ |
110 | 110 | "baseUrl": ".", |
111 | 111 | "paths": { |
112 | | - "@/*": ["resources/js/*"] |
| 112 | + "@/*": ["./resources/js/*"], |
| 113 | + "ziggy-js": ["./vendor/tightenco/ziggy"] |
113 | 114 | }, |
114 | | - "jsx": "react" |
115 | | - } |
| 115 | + "jsx": "react-jsx" |
| 116 | + }, |
| 117 | + "include": ["resources/js/**/*.ts", "resources/js/**/*.tsx", "resources/js/**/*.d.ts"] |
116 | 118 | } |
0 commit comments