Skip to content

typings cause compiler errors #52

@agnauck

Description

@agnauck

when I compile my code without the skipLibCheck option I get the following error:

66:5 Property '2' of type '"px" | "%" | undefined' is not assignable to numeric index type 'string | number'.
    64 |     0: number,
    65 |     1: number,
  > 66 |     2?: 'px' | '%'
       |     ^
    67 |   }
    68 | 
    69 | }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions