0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-04-14 23:51:49 -05:00

[ci] format

This commit is contained in:
ematipico 2023-08-28 16:21:11 +00:00 committed by astrobot-houston
parent 34b92f6f35
commit 64aa4cd51c
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
import type { AstroAdapter, AstroIntegration } from 'astro';
import type { Options, UserOptions } from './types';
import { AstroError } from 'astro/errors';
import type { Options, UserOptions } from './types';
export function getAdapter(options: Options): AstroAdapter {
return {
name: '@astrojs/node',

View file

@ -1,10 +1,10 @@
import type { CreatePreviewServer } from 'astro';
import { AstroError } from 'astro/errors';
import type http from 'node:http';
import { fileURLToPath } from 'node:url';
import { getNetworkAddress } from './get-network-address.js';
import { createServer } from './http-server.js';
import type { createExports } from './server';
import { AstroError } from 'astro/errors';
const preview: CreatePreviewServer = async function ({
client,

View file

@ -4,9 +4,9 @@
* - https://github.com/apollographql/apollo-client/blob/main/src/utilities/common/responseIterator.ts
*/
import { AstroError } from 'astro/errors';
import type { ReadableStreamDefaultReadResult } from 'node:stream/web';
import { Readable as NodeReadableStream } from 'stream';
import { AstroError } from 'astro/errors';
interface NodeStreamIterator<T> {
next(): Promise<IteratorResult<T, boolean | undefined>>;