import { expectType , ComponentTester , TestButton , TestElement , TestHtmlElement , TestInput , TestSelect , TestTextArea } from './' ; const componentTester = null ; const testElement = null ; [ componentTester , testElement ] . forEach ( test => { expectType < TestHtmlElement < HTMLDivElement > | null > ( test . element ( 'div' ) ) ; expectType < TestElement < SVGLineElement > | null > ( test . element ( 'line' ) ) ; expectType < TestElement < HTMLDivElement > | null > ( test . element ( 'line' ) ) ; expectType < TestElement | null > ( test . element ( '.any-selector' ) ) ; expectType < TestHtmlElement < HTMLDivElement > | null > ( test . element < HTMLDivElement > ( '.any-selector' ) ) ; expectType < TestElement < SVGLineElement > | null > ( test . element < SVGLineElement > ( '.any-selector' ) ) ; expectType < TestInput | null > ( test . element < HTMLInputElement > ( '.any-selector' ) ) ; expectType < TestTextArea | null > ( test . element < HTMLTextAreaElement > ( '.any-selector' ) ) ; expectType < TestButton | null > ( test . element < HTMLButtonElement > ( '.any-selector' ) ) ; expectType < TestSelect | null > ( test . element < HTMLSelectElement > ( '.any-selector' ) ) ; expectType < Array < TestHtmlElement < HTMLDivElement > > > ( test . elements ( 'div' ) ) ; expectType < Array < TestElement < SVGLineElement > > > ( test . elements ( 'line' ) ) ; expectType < Array < TestElement > > ( test . elements ( '.any-selector' ) ) ; expectType < Array < TestHtmlElement < HTMLDivElement > > > ( test . elements < HTMLDivElement > ( '.any-selector' ) ) ; expectType < Array < TestElement < SVGLineElement > > > ( test . elements < SVGLineElement > ( '.any-selector' ) ) ; expectType < Array < TestInput > > ( test . elements < HTMLInputElement > ( '.any-selector' ) ) ; expectType < Array < TestTextArea > > ( test . elements < HTMLTextAreaElement > ( '.any-selector' ) ) ; expectType < Array < TestButton > > ( test . elements < HTMLButtonElement > ( '.any-selector' ) ) ; expectType < Array < TestSelect > > ( test . elements < HTMLSelectElement > ( '.any-selector' ) ) ; } ) ;