Skip to content

Commit

Permalink
Squash a few small lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttrinh committed Nov 30, 2023
1 parent dfc31e5 commit 02d795e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions packages/driver/src/reflection/queries/operators.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { Executor } from "../../ifaces";
import type { Executor } from "../../ifaces";
import { StrictMap } from "../strictMap";

import { FuncopParam, replaceNumberTypes, FuncopTypemod } from "./functions";
import type { FuncopParam, FuncopTypemod } from "./functions";
import { replaceNumberTypes } from "./functions";
import { util } from "../util";
import { typeutil } from "../typeutil";
import { OperatorKind } from "../enums";
import type { typeutil } from "../typeutil";
import type { OperatorKind } from "../enums";

export type { FuncopTypemod };

Expand Down Expand Up @@ -49,7 +50,7 @@ const _operators = async (cxn: Executor) => {

for (const op of JSON.parse(operatorsJson)) {
const identifier = op.annotations.find(
(anno: any) => anno.name === "std::identifier"
(anno: { name: string }) => anno.name === "std::identifier"
)?.["@value"];

if (!identifier) {
Expand All @@ -70,7 +71,7 @@ const _operators = async (cxn: Executor) => {
kind: op.operator_kind,
originalName: op.name,
description: op.annotations.find(
(anno: any) => anno.name === "std::description"
(anno: { name: string }) => anno.name === "std::description"
)?.["@value"],
annotations: undefined,
};
Expand Down
2 changes: 1 addition & 1 deletion packages/generate/src/syntax/funcops.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
Cardinality,
introspect,
type introspect,
TypeKind,
} from "edgedb/dist/reflection/index";
import { cardutil } from "./cardinality";
Expand Down

0 comments on commit 02d795e

Please sign in to comment.