Skip to content

Commit 79313b5

Browse files
committed
Fix
1 parent 17836cf commit 79313b5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/schemas.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { Declaration, SchemaFieldType, SchemaMetadataEntry } from "./Docs/api";
2-
import { declarationKey } from "./Docs/DeclarationsContext";
1+
import type { Declaration, SchemaFieldType, SchemaMetadataEntry } from "./Docs/api.ts";
32

43
export interface RawSchemaClass {
54
name: string;
@@ -68,7 +67,7 @@ export function parseSchemas(data: SchemasJson) {
6867
const all: Declaration[] = [];
6968
for (const arr of [classes, enums]) {
7069
for (const d of arr) {
71-
const key = declarationKey(d.module, d.name);
70+
const key = `${d.module}/${d.name}`;
7271
if (!seen.has(key)) {
7372
seen.add(key);
7473
all.push(d);

0 commit comments

Comments
 (0)