Closed as not planned
Description
π Search Terms
typeof import("x")
should be the same as the return type of import
expression call
π Version & Regression Information
All version
β― Playground Link
π» Code
import * as React from 'react';
const react = import('react');
type IsEqual<T, U> = T extends U ? U extends T ? true : false : false;
π Actual behavior
type IsEqualResult1 = IsEqual<typeof react, typeof import('react')>; // false
type IsEqualResult2 = IsEqual<typeof React, typeof import('react')>; // true
π Expected behavior
type IsEqualResult1 = IsEqual<typeof react, typeof import('react')>; // true
type IsEqualResult2 = IsEqual<typeof React, typeof import('react')>; // false
Additional information about the issue
No response