=== tests/cases/compiler/library.ts ===
function createElement(element: string, props: any, ...children: any[]): any {}
>createElement : (element: string, props: any, ...children: any[]) => any
>element : string
>props : any
>children : any[]

namespace JSX {
  export interface IntrinsicElements {
    [key: string]: Record<string, any>;
>key : string
  }
}

export { createElement, JSX };
>createElement : (element: string, props: any, ...children: any[]) => any
>JSX : any

=== tests/cases/compiler/index.tsx ===
import * as MyLib from "./library";
>MyLib : typeof MyLib

const content = <my-element/>;
>content : error
><my-element/> : error
>my-element : any

