From 59f0b9c9adc93e55124381992fe03cd759b51f9b Mon Sep 17 00:00:00 2001 From: Vitaly Budovski Date: Tue, 24 Dec 2024 22:18:28 +1100 Subject: [PATCH] fix: Remove unused imports --- paseri-lib/src/schemas/array.test.ts | 1 - paseri-lib/src/schemas/array.ts | 3 +-- paseri-lib/src/schemas/map.test.ts | 1 - paseri-lib/src/schemas/object.test.ts | 1 - paseri-lib/src/schemas/record.test.ts | 1 - paseri-lib/src/schemas/set.test.ts | 1 - paseri-lib/src/schemas/tuple.test.ts | 1 - 7 files changed, 1 insertion(+), 8 deletions(-) diff --git a/paseri-lib/src/schemas/array.test.ts b/paseri-lib/src/schemas/array.test.ts index 294fdf5..09c2d27 100644 --- a/paseri-lib/src/schemas/array.test.ts +++ b/paseri-lib/src/schemas/array.test.ts @@ -2,7 +2,6 @@ import { expect } from '@std/expect'; import { expectTypeOf } from 'expect-type'; import fc from 'fast-check'; import * as p from '../index.ts'; -import { type TreeNode, issueCodes } from '../issue.ts'; const { test } = Deno; diff --git a/paseri-lib/src/schemas/array.ts b/paseri-lib/src/schemas/array.ts index da23c0f..4bb9ccb 100644 --- a/paseri-lib/src/schemas/array.ts +++ b/paseri-lib/src/schemas/array.ts @@ -1,6 +1,5 @@ import type { Infer } from '../index.ts'; -import { type LeafNode, type TreeNode, issueCodes } from '../issue.ts'; -import { addIssue } from '../issue.ts'; +import { type LeafNode, type TreeNode, addIssue, issueCodes } from '../issue.ts'; import { type InternalParseResult, isIssue } from '../result.ts'; import { type AnySchemaType, Schema } from './schema.ts'; diff --git a/paseri-lib/src/schemas/map.test.ts b/paseri-lib/src/schemas/map.test.ts index e7a0679..271cf37 100644 --- a/paseri-lib/src/schemas/map.test.ts +++ b/paseri-lib/src/schemas/map.test.ts @@ -2,7 +2,6 @@ import { expect } from '@std/expect'; import { expectTypeOf } from 'expect-type'; import fc from 'fast-check'; import * as p from '../index.ts'; -import { type TreeNode, issueCodes } from '../issue.ts'; const { test } = Deno; diff --git a/paseri-lib/src/schemas/object.test.ts b/paseri-lib/src/schemas/object.test.ts index 79df8c6..0d636bd 100644 --- a/paseri-lib/src/schemas/object.test.ts +++ b/paseri-lib/src/schemas/object.test.ts @@ -2,7 +2,6 @@ import { expect } from '@std/expect'; import { expectTypeOf } from 'expect-type'; import fc from 'fast-check'; import * as p from '../index.ts'; -import { type TreeNode, issueCodes } from '../issue.ts'; const { test } = Deno; diff --git a/paseri-lib/src/schemas/record.test.ts b/paseri-lib/src/schemas/record.test.ts index f25370e..77b0846 100644 --- a/paseri-lib/src/schemas/record.test.ts +++ b/paseri-lib/src/schemas/record.test.ts @@ -2,7 +2,6 @@ import { expect } from '@std/expect'; import { expectTypeOf } from 'expect-type'; import fc from 'fast-check'; import * as p from '../index.ts'; -import { type TreeNode, issueCodes } from '../issue.ts'; const { test } = Deno; diff --git a/paseri-lib/src/schemas/set.test.ts b/paseri-lib/src/schemas/set.test.ts index 4d346b8..019033a 100644 --- a/paseri-lib/src/schemas/set.test.ts +++ b/paseri-lib/src/schemas/set.test.ts @@ -2,7 +2,6 @@ import { expect } from '@std/expect'; import { expectTypeOf } from 'expect-type'; import fc from 'fast-check'; import * as p from '../index.ts'; -import { type TreeNode, issueCodes } from '../issue.ts'; const { test } = Deno; diff --git a/paseri-lib/src/schemas/tuple.test.ts b/paseri-lib/src/schemas/tuple.test.ts index f778c24..9b5ceca 100644 --- a/paseri-lib/src/schemas/tuple.test.ts +++ b/paseri-lib/src/schemas/tuple.test.ts @@ -2,7 +2,6 @@ import { expect } from '@std/expect'; import { expectTypeOf } from 'expect-type'; import fc from 'fast-check'; import * as p from '../index.ts'; -import { type TreeNode, issueCodes } from '../issue.ts'; const { test } = Deno;