2021-06-27 09:35:00 +08:00
|
|
|
// This directory contains a number of d.ts assertions
|
|
|
|
// use \@ts-expect-error where errors are expected.
|
2019-11-05 07:38:55 +08:00
|
|
|
|
2019-11-02 10:54:01 +08:00
|
|
|
export * from '@vue/runtime-dom'
|
2019-11-23 07:09:26 +08:00
|
|
|
|
|
|
|
export function describe(_name: string, _fn: () => void): void
|
2020-06-09 22:17:42 +08:00
|
|
|
|
|
|
|
export function expectType<T>(value: T): void
|
|
|
|
export function expectError<T>(value: T): void
|
|
|
|
export function expectAssignable<T, T2 extends T = T>(value: T2): void
|
2021-03-25 23:27:54 +08:00
|
|
|
|
|
|
|
export type IsUnion<T, U extends T = T> = (T extends any
|
|
|
|
? (U extends T ? false : true)
|
|
|
|
: never) extends false
|
|
|
|
? false
|
|
|
|
: true
|