Skip to content

type error in Range in latest version #1219

@MMT-LD

Description

@MMT-LD

Hey!

i updated to 15.6.1 and since then i receive the below error.

Type '{ min: [number]; '10%': number[]; '50%': number[]; max: [number]; }' is not assignable to type 'Range'.
  Object literal may only specify known properties, and ''10%'' does not exist in type 'Range'.ts(2322)
nouislider.d.ts(112, 5): The expected type comes from property 'range' which is declared here on type 'Options'

Reverting to previous version fixes this issue for me.

i'm using 4.1.2 typescript. We can't upgrade this yet. Thought i would let you know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions