Skip to content

rehype-highlight@^4.1.0 Lacks Types #18

Closed
@shellscape

Description

Initial checklist

Affected packages and versions

[email protected]

Link to runnable example

No response

Steps to reproduce

Install [email protected] in any TypeScript project (which hasn't been configured to ignore a lack of types).

Expected behavior

Since v5.0.0 was a breaking change, and 4.x lacked types, I expected that a backport of types would have been made before deciding to go ESM only.

Not providing a backport to CJS is just bonkers for a tool that's so core to the ecosystem, but that aside, please consider backporting types to the 4.x version line.

Actual behavior

Cannot find a declaration file for ...rehype-highlight

Runtime

Node v14

Package manager

pnpm

OS

macOS

Build and bundle tools

Other (please specify in steps to reproduce)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    👎 phase/noPost cannot or will not be acted on🙅 no/wontfixThis is not (enough of) an issue for this project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions