UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

10 lines (8 loc) 360 B
import { AriaLabelRequired } from './a11y'; import { Equal, Expect } from './typetest.util'; // NOTE: STATIC TYPE TESTS RUN ON LINT // eslint-disable-next-line @typescript-eslint/no-unused-vars type cases = [ // Check that the AriaLabelRequired type is correct Expect<Equal<AriaLabelRequired, { 'aria-label': string } | { 'aria-labelledby': string }>> ];