这是indexloc提供的服务,不要输入任何密码
Skip to content

Examples for Next.js are inheriting base TypeScript config #1446

@matthewlilley

Description

@matthewlilley

What version of Turborepo are you using?

1.3.0

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Linux

Describe the Bug

Examples in Turborepo for Next.js are inheriting a base typescript config with declaration: true, which causes a ton of portability errors which the cause of is not obvious. I spent many hours tracking this down. I don't think Next.js should have declaration: true, but using the examples provided they will.

Expected Behavior

To not repeatedly see

The inferred type of "X" cannot be named without a reference to "Y". This is likely not portable. A type annotation is necessary.

To Reproduce

N/A

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions