From daf48e5f6ea90868c1d3c5bd77fe97db8600928b Mon Sep 17 00:00:00 2001 From: Eric Crosson Date: Mon, 23 Dec 2024 13:43:46 -0600 Subject: [PATCH] chore: use `import type` to import only swc types to make it clear to humans and the compiler that no values are imported. --- packages/openapi-generator/src/resolveInit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openapi-generator/src/resolveInit.ts b/packages/openapi-generator/src/resolveInit.ts index 567ed1dd..a3808acc 100644 --- a/packages/openapi-generator/src/resolveInit.ts +++ b/packages/openapi-generator/src/resolveInit.ts @@ -1,4 +1,4 @@ -import * as swc from '@swc/core'; +import type * as swc from '@swc/core'; import type { Block } from 'comment-parser'; import * as E from 'fp-ts/Either'; import { dirname } from 'path';