index.d.ts 584 B

12345678910111213
  1. // This directory contains a number of d.ts assertions using tsd:
  2. // https://github.com/SamVerschueren/tsd
  3. // The tests checks type errors and will probably show up red in VSCode, and
  4. // it's intended. We cannot use directives like @ts-ignore or @ts-nocheck since
  5. // that would suppress the errors that should be caught.
  6. export * from '@vue/runtime-dom'
  7. export function describe(_name: string, _fn: () => void): void
  8. export function expectType<T>(value: T): void
  9. export function expectError<T>(value: T): void
  10. export function expectAssignable<T, T2 extends T = T>(value: T2): void