Skip to content

Commit 995f309

Browse files
committed
Remove redundant type imports from utils.ts
Cleaned up utils.ts by removing unused type imports that were already defined in types.d.ts. Also updated package version to 0.5.9.
1 parent 0c41c2b commit 995f309

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hey-api-builders",
3-
"version": "0.5.8",
3+
"version": "0.5.9",
44
"description": "A custom plugin for @hey-api/openapi-ts that wraps JSON Schema Faker to generate builders.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

types.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export interface Config {
2323

2424
export type BuildersPlugin = DefinePlugin<Config>
2525

26-
// Schema-related types moved from utils.ts
2726
export interface BuilderOptions {
2827
useDefault?: boolean;
2928
useExamples?: boolean;

utils.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
import type { IR } from '@hey-api/openapi-ts';
22
import type { Schema } from 'json-schema-faker';
33
import type {
4-
BuildersPlugin,
5-
BuilderOptions,
64
GeneratedSchemaMeta,
75
EnumSchemaObject,
86
EnumItem,
97
JsonValue,
108
ExtendedSchema,
119
NormalizedSchemaNode,
12-
BuildersHandler
1310
} from './types';
1411

1512
export function irToSchema(

0 commit comments

Comments
 (0)