Skip to content

rehype-highlight@^4.1.0 Lacks Types #18

Closed
@shellscape

Description

@shellscape

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)

Metadata

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