Skip to content

Next complied success even if typescript type check error #6466

@HarikiRito

Description

@HarikiRito

Examples bug report

Typescript type check error show on IDE but still complied success

Example name

custom-server-typescript

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Do anything to make typescript complain but still a valid js code (E.g let a: string = 1)

Expected behavior

Throw error on type check error

Screenshots

image

System information

  • OS: Windows
  • Browser (if applies) [e.g. chrome, safari]
  • Version of Next.js: 8.0.1

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    examplesIssue was opened via the examples template.good first issueEasy to fix issues, good for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions