Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noxify/t3-turbo-next-intl-repro


https://github.com/noxify/t3-turbo-next-intl-repro

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# t3-turbo repro w/ next-intl

> Note: We're using `[email protected]` and `[email protected]` ( via nvm )

1. clone the repo
2. run `pnpm i`
3. Open the project in VSCode
4.a. Run `pnpm typecheck`
4.b. Alternatively, open the file `apps/frontend/src/components/client-component.tsx`

The result from `pnpm typecheck` is something like this:

```
│ src/components/client-component.tsx:10:13 - error TS2345: Argument of type 'string' is not assigna
│ ble to parameter of type 'never'.

│ 10

{t("client_text")}


│ ~~~~~~~~~~~~~
```

VSC shows the following/same error:

```
Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345)
⚠ Error (TS2345) |
Argument of type
is not assignable to parameter of type
.
```