Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname committed Oct 8, 2024
1 parent 7ddffbb commit d310eac
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/embeddings/generator/mdSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ import { filter } from "unist-util-filter";
import { createHash } from "node:crypto";
import GithubSlugger from "github-slugger";

type PlainValue = string | number | bigint | true | RegExp | undefined;
type PlainValue = string | number | bigint | boolean | RegExp | undefined;
type PlainObj = Record<string, PlainValue>;
type ObjectExpression = {
properties: {
// deno-lint-ignore no-explicit-any
properties: any[] /*{
type: string;
key: { type: string; name: string };
value: { type: string; value: PlainValue };
}[];
key: { type: string; name?: string };
value: { type: string; value?: PlainValue | null };
}[]*/;
};

/**
Expand Down

0 comments on commit d310eac

Please sign in to comment.