Comments (1)
You have a synthetic import to solid-js/jsx-runtime
here. It's an ESM file but you are importing it from a CJS one. TS crashes when trying to raise 1479 diagnostic:
The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479", `The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.
The reason it crashes here is that you have composite: true
. This option enables incremental compilation and that eagerly calls resolveExternalModuleName
from getReferencedFiles
.
from typescript.
Related Issues (20)
- FR: Add TS config option to disable "<some regex feature> is only available when targeting 'es2018' or later.". HOT 5
- Deprecating no-default-lib and rethinking of other lib related CompilerOptions HOT 1
- Function overloading of generic functions allows for invalid code HOT 3
- TS7022 (circular reference) on simple assignments in a loop HOT 6
- Suggestion xml2typescript tooling HOT 4
- Signature help stopped expanding type alias in TypeScript 5.5 HOT 8
- Problem with .d.ts file generation for inner classes HOT 4
- Field overwriting with stage 3 decorators changes parent class metadata HOT 2
- [NewErrors] 5.6.0-dev.20240630 vs 5.5.2 HOT 10
- [ServerErrors][JavaScript] 5.6.0-dev.20240630 HOT 9
- [ServerErrors][TypeScript] 5.6.0-dev.20240630 HOT 22
- Extend type predicate inference to work with certain type variables HOT 3
- Param with generic function type extends `Window` can't compare to `window`
- using a toLowerCase function inside the if block type error HOT 2
- getPasteEdits adds import when not needed
- TSC version 5.5.3 - output file looses triple slash reference comment hence compilation fails HOT 4
- parseCommandLine fails with --build and --force HOT 1
- Contravariance with optional arguments causes runtime errors HOT 5
- Investigate Adopting `--isolatedDeclarations` in TypeScript's Codebase HOT 1
- In latest release, text should read "fixed issues query for TypeScript v5.5.3" not "fixed issues query for TypeScript v5.5.2" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript.