From 5f09a14c61770d247aa22eb971a377337daca583 Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Sat, 1 Nov 2025 17:15:37 +0100 Subject: [PATCH] chore: fix type issues --- benchmarks/scripts/token-efficiency-benchmark.ts | 2 +- benchmarks/src/formatters.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/scripts/token-efficiency-benchmark.ts b/benchmarks/scripts/token-efficiency-benchmark.ts index 0aaca31..fd23757 100644 --- a/benchmarks/scripts/token-efficiency-benchmark.ts +++ b/benchmarks/scripts/token-efficiency-benchmark.ts @@ -1,7 +1,7 @@ import * as fsp from 'node:fs/promises' import * as path from 'node:path' import * as prompts from '@clack/prompts' -import { encode } from '../../src/index' +import { encode } from '../../packages/toon/src' import githubRepos from '../data/github-repos.json' with { type: 'json' } import { BENCHMARKS_DIR, FORMATTER_DISPLAY_NAMES, ROOT_DIR } from '../src/constants' import { generateAnalyticsData, generateOrderData } from '../src/datasets' diff --git a/benchmarks/src/formatters.ts b/benchmarks/src/formatters.ts index 7918b2b..98a4fa0 100644 --- a/benchmarks/src/formatters.ts +++ b/benchmarks/src/formatters.ts @@ -1,7 +1,7 @@ import { stringify as stringifyCSV } from 'csv-stringify/sync' import { XMLBuilder } from 'fast-xml-parser' import { stringify as stringifyYAML } from 'yaml' -import { encode as encodeToon } from '../../src/index' +import { encode as encodeToon } from '../../packages/toon/src' /** * Format converters registry