The FAQ states that Nue is like React, Svelte and SvelteKit in being written in plain JS and not TypeScript.
While the latter two have moved to JSDoc based type checking (using TypeScript, and from my understanding also for the internals and not just the public API surface like Nue currently does), React isn't using plain JavaScript but rather Flow - Facebook's statically typed JS variant. Every file annotated with @flow in a comment is using Flow syntax, which, like TypeScript, is a superset of JS that uses type annotations in a very similar way (note that it also allows for typing in comments but React isn't doing so - their source code can't run directly inside JS runtimes)
The FAQ states that Nue is like React, Svelte and SvelteKit in being written in plain JS and not TypeScript. While the latter two have moved to JSDoc based type checking (using TypeScript, and from my understanding also for the internals and not just the public API surface like Nue currently does), React isn't using plain JavaScript but rather Flow - Facebook's statically typed JS variant. Every file annotated with @flow in a comment is using Flow syntax, which, like TypeScript, is a superset of JS that uses type annotations in a very similar way (note that it also allows for typing in comments but React isn't doing so - their source code can't run directly inside JS runtimes)
For an example (random file from react source that's using Flow annotation) see: https://github.com/facebook/react/blob/a5fc797db14c6e05d4d5c4dbb22a0dd70d41f5d5/packages/react/src/ReactLazy.js#L45-L52