Skip to content

Error in typescript file index.d.ts #7

@felipecarrillo100

Description

@felipecarrillo100

The number has no type:

You could solve the issue as follows:

`declare module "color-interpolate" {
function interpolate(palette: string[]): (value:number) => string

export = interpolate

}`

Metadata

Metadata

Assignees

No one assigned

    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