Skip to content

auto complete should import types with type keyword #957

Closed
@islishude

Description

@islishude

Image

Image

I want to have following code because Node.js needs type keyword to strip type imports

import { type Hex } from "viem";

const owner = "0xb0f1C58061020A76C22C72c5f52EeD5dB8d25444" as Hex;

https://nodejs.org/docs/latest/api/typescript.html#importing-types-without-type-keyword

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions