Skip to content

@emotion/serialize/types/index.ts TS2411: error #3136

@ovaris

Description

@ovaris

Current behavior:

TypeScript compiler throws numerous errors related to CSSInterpolation:

node_modules/@emotion/serialize/types/index.d.ts:37:18 - error TS2411: Property 'zoom' of type 'Zoom | readonly NonNullable<Zoom | undefined>[] | ("normal" | "reset" | (string & {}) | Globals)[] | undefined' is not assignable to 'string' index type 'CSSInterpolation'.

Found 825 errors in the same file, starting at: node_modules/@emotion/serialize/types/index.d.ts:37

Using TS version 5.3.2

Not sure what changed but suddenly index.d.ts appered under node_modules/@emotion/serialize/types even though we have been using same version 1.1.2 all the time (or actually it's dependency of react-select)

└─┬ [email protected]
└─┬ @emotion/[email protected]
├─┬ @emotion/[email protected]
│ └── @emotion/[email protected] deduped
└── @emotion/[email protected]

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