Skip to content

Commit 0123887

Browse files
committed
refactor: update type import syntax
1 parent cd45750 commit 0123887

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type Plugin } from 'vite';
1+
import type { Plugin } from 'vite';
22
import {
33
type CodegenConfig,
44
CodegenContext,

src/utils/configPaths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { normalizePath } from 'vite';
2-
import { type CodegenContext } from '@graphql-codegen/cli';
2+
import type { CodegenContext } from '@graphql-codegen/cli';
33
import { normalizeInstanceOrArray } from '@graphql-codegen/plugin-helpers';
44

55
export async function getDocumentPaths(

src/utils/fileMatchers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { normalizePath } from 'vite';
2-
import { type CodegenContext } from '@graphql-codegen/cli';
2+
import type { CodegenContext } from '@graphql-codegen/cli';
33
import { getDocumentPaths, getSchemaPaths } from '@/utils/configPaths';
44

55
export type FileMatcher = (

src/utils/viteModes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ConfigEnv } from 'vite';
1+
import type { ConfigEnv } from 'vite';
22

33
export type ViteMode = ConfigEnv['command'];
44

0 commit comments

Comments
 (0)