mirror of
https://github.com/sindresorhus/type-fest.git
synced 2025-12-08 19:25:05 +00:00
6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
import {expectType} from 'tsd';
|
|
import type {Promisable} from '../index';
|
|
|
|
declare const promisable: Promisable<string>;
|
|
expectType<PromiseLike<string> | string>(promisable);
|