From 03984aec98e0a668a9e5b1fd81ffba57653af892 Mon Sep 17 00:00:00 2001 From: Alisue Date: Sat, 6 Apr 2024 11:49:12 +0900 Subject: [PATCH] :herb: Fix linting errors --- is/_deprecated.ts | 4 ++-- is/_deprecated_test.ts | 2 +- is/annotation_test.ts | 2 +- is/core_test.ts | 2 +- is/factory.ts | 2 +- is/factory_test.ts | 2 +- is/utility_test.ts | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/is/_deprecated.ts b/is/_deprecated.ts index fa3b926..5bc7030 100644 --- a/is/_deprecated.ts +++ b/is/_deprecated.ts @@ -1,7 +1,7 @@ import type { UnionToIntersection } from "../_typeutil.ts"; import type { Predicate } from "./type.ts"; -import { type isObjectOf } from "./factory.ts"; -import { type GetMetadata, type WithMetadata } from "../metadata.ts"; +import type { isObjectOf } from "./factory.ts"; +import type { GetMetadata, WithMetadata } from "../metadata.ts"; import { isIntersectionOf, isUnionOf } from "./utility.ts"; type IsObjectOfMetadata = GetMetadata>; diff --git a/is/_deprecated_test.ts b/is/_deprecated_test.ts index 95e802d..8eae5af 100644 --- a/is/_deprecated_test.ts +++ b/is/_deprecated_test.ts @@ -7,7 +7,7 @@ import { } from "https://deno.land/std@0.211.0/testing/snapshot.ts"; import { assertType } from "https://deno.land/std@0.211.0/testing/types.ts"; import { type Equal, stringify } from "./_testutil.ts"; -import { type Predicate, type PredicateType } from "./type.ts"; +import type { Predicate, PredicateType } from "./type.ts"; import { isBoolean, isNumber, isString } from "./core.ts"; import { isObjectOf } from "./factory.ts"; import is, { isAllOf, isOneOf } from "./_deprecated.ts"; diff --git a/is/annotation_test.ts b/is/annotation_test.ts index 7d9307d..ceeed47 100644 --- a/is/annotation_test.ts +++ b/is/annotation_test.ts @@ -7,7 +7,7 @@ import { } from "https://deno.land/std@0.211.0/testing/snapshot.ts"; import { assertType } from "https://deno.land/std@0.211.0/testing/types.ts"; import { type Equal, stringify } from "./_testutil.ts"; -import { type Predicate } from "./type.ts"; +import type { Predicate } from "./type.ts"; import { isArray, isAsyncFunction, diff --git a/is/core_test.ts b/is/core_test.ts index 1e1dfa6..3b15eb9 100644 --- a/is/core_test.ts +++ b/is/core_test.ts @@ -3,7 +3,7 @@ import { assertStrictEquals, } from "https://deno.land/std@0.211.0/assert/mod.ts"; import { stringify } from "./_testutil.ts"; -import { type Predicate } from "./type.ts"; +import type { Predicate } from "./type.ts"; import is, { isAny, isArray, diff --git a/is/factory.ts b/is/factory.ts index aa5506f..a18c467 100644 --- a/is/factory.ts +++ b/is/factory.ts @@ -1,6 +1,6 @@ import type { FlatType } from "../_typeutil.ts"; import type { Predicate, PredicateType } from "./type.ts"; -import { isOptionalOf, isReadonlyOf } from "./annotation.ts"; +import { type isOptionalOf, isReadonlyOf } from "./annotation.ts"; import { isAny, isArray, diff --git a/is/factory_test.ts b/is/factory_test.ts index b31f491..5fea614 100644 --- a/is/factory_test.ts +++ b/is/factory_test.ts @@ -7,7 +7,7 @@ import { } from "https://deno.land/std@0.211.0/testing/snapshot.ts"; import { assertType } from "https://deno.land/std@0.211.0/testing/types.ts"; import { type Equal, stringify } from "./_testutil.ts"; -import { type Predicate } from "./type.ts"; +import type { Predicate } from "./type.ts"; import { isOptionalOf } from "./annotation.ts"; import { isArray, diff --git a/is/utility_test.ts b/is/utility_test.ts index 11ff12e..dfff944 100644 --- a/is/utility_test.ts +++ b/is/utility_test.ts @@ -7,7 +7,7 @@ import { } from "https://deno.land/std@0.211.0/testing/snapshot.ts"; import { assertType } from "https://deno.land/std@0.211.0/testing/types.ts"; import { type Equal, stringify } from "./_testutil.ts"; -import { type Predicate, type PredicateType } from "./type.ts"; +import type { Predicate, PredicateType } from "./type.ts"; import { isOptionalOf } from "./annotation.ts"; import { isBoolean, isNumber, isString, isUndefined } from "./core.ts"; import { isObjectOf } from "./factory.ts";