Skip to content

Type-only import can be used as value after 'import =' #36466

Closed

Description

import type * as os from 'os';
import cpus = os.cpus;
cpus();

Expected: Error on cpus()

Actual: No error

Activity

  1. added
    Fix Available
    on Jan 29, 2020
  2. locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugFix Available

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ Proxy