Skip to content

update to 2.20-rc.1 typescript error #4296

@agoni1212

Description

@agoni1212
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.0-rc.1

Environment

vs code, yarn ,vite , typescript

Reproduction link

c563097#diff-3fee134a410a783dfd5f6f89b1a8f7e7eb1ba8e332aeaf4cafdefc4c723088e9R59-R62

Steps to reproduce

yarn build

What is expected?

build success

What is actually happening?

error:
Property 'title' of type 'string | undefined' is not assignable to string index type 'string'.ts(2411)
(property) title?: string | undefined

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions