Skip to content

incopatible type with typescript v2.9.1 #10729

@saostad

Description

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

Version

3.5.4

Environment

bowser 3.5.4

Reproduction link

Edit on CodeSandbox

Steps to reproduce

npm start

What is expected?

compile successfully

What is actually happening?

Error:
antd\lib_util\type.d.ts
(8,63): error TS2344: Type 'keyof T' does not satisfy the constraint 'string'.
Type 'string | number | symbol' is not assignable to
type 'string'.
Type 'number' is not assignable to type 'string'.

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