import { expectType } from 'tsd'; import type { SinkFunction } from '../types/sink'; import type { SinkBindingConfiguration } from "../types/internal"; import type { FocusableElement } from '../types/rml'; import { BlurSink, Blur } from './blur-sink'; const sinkFn = BlurSink(document.createElement('button')); expectType(sinkFn); const sink = Blur(document.createElement('button')); expectType>(sink); // expectType>(sink); // this should work, too, shouldn't it?