Comments (1)
No clue. This project is tested and it works.
Your issue seems to be about Next.js, React’s types, or hast-util-to-jsx-runtime
. Have you tried reducing your problem to an MVP, using non-alpha releases, checked without Next.js? Checked if it’s just a TS error (`@ts-expect-error) or an actual error? There’s nothing that needs to change here, so I’ll close it.
I’d guess related to DefinitelyTyped/DefinitelyTyped#68600 / Next canaries / using an old react / your tsconfig/setup not supporting actual ESM correctly
from starry-night.
Related Issues (20)
- Svelte grammar having issues with parsing if script tag declares language as `lang="ts"` HOT 6
- Rust grammar is outdated and not used by linguist HOT 2
- Rewrite in Typescript HOT 1
- vue color parsing error
- Is it possible to expand the list of scopes->classes? HOT 4
- TypeError: Cannot read properties of undefined (reading 'Registry') HOT 1
- How would speed be expected to compare to refractor and lowlight? HOT 1
- Some `.d.ts` missing HOT 4
- Themes: selector used for regexp is also used for string HOT 2
- Missing some punctuation highlight HOT 5
- esm.sh cannot find `source.css.js` HOT 6
- What are the supported common languages? HOT 6
- Cannot import grammar from default export HOT 7
- CSS link from README is dead HOT 8
- Can rehypeStarryNight be used in react-markdown? HOT 2
- Use a more narrowing scope HOT 5
- `flagToGrammar()`? HOT 2
- Is there a way to define name aliases for a certain pattern? HOT 1
- Error highlighting `source.regexp` HOT 6
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 starry-night.