Skip to content

[BUG]: Module @octokit/auth-token declares Token locally, but it is not exported. #398

@NatoBoram

Description

@NatoBoram

What happened?

Previously, I was using this type:

import type { Token } from "@octokit/auth-token/dist-types/types.js"

With the conversion to ESModules (I think), the file is no longer accessible, so I have to do with this:

// Module '"@octokit/auth-token"' declares 'Token' locally, but it is not exported. ts(2459)
import type { Token } from "@octokit/auth-token"

But the type forgot to be exported

Versions

"@octokit/auth-token": "^5.0.1",

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions