0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

[ci] format

This commit is contained in:
Theo Ephraim 2024-06-05 03:18:44 +00:00 committed by astrobot-houston
parent 1734c49f51
commit 13c001062b

View file

@ -1,5 +1,7 @@
export function isPromise<T = any>(value: any): value is Promise<T> {
return !!value && typeof value === 'object' && 'then' in value && typeof value.then === 'function';
return (
!!value && typeof value === 'object' && 'then' in value && typeof value.then === 'function'
);
}
export async function* streamAsyncIterator(stream: ReadableStream) {