// @filename: file.tsx // @jsx: react // @noLib: true // @skipLibCheck: true // @target: es2015 // @moduleResolution: node // @libFiles: react.d.ts,lib.d.ts import * as React from "react"; declare global { namespace JSX { interface IntrinsicElements { "a-b": any; "a-c": any; } } } const Compa = (x: {x: number}) =>