Skip to content

Version 1.0.1 has type issues #145

@kaiyoma

Description

@kaiyoma

The recent type changes are causing type errors when trying to use the latest version of this package:

09:10:42  node_modules/.pnpm/react-new-window@1.0.1_sfoxds7t5ydpegc3knd667wn6m/node_modules/react-new-window/types/NewWindow.d.ts(14,5): error TS2411: Property 'height' of type 'number | undefined' is not assignable to 'string' index type 'string | number | boolean'.
09:10:42  node_modules/.pnpm/react-new-window@1.0.1_sfoxds7t5ydpegc3knd667wn6m/node_modules/react-new-window/types/NewWindow.d.ts(15,5): error TS2411: Property 'width' of type 'number | undefined' is not assignable to 'string' index type 'string | number | boolean'.

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