Skip to content

Commit

Permalink
chore: fix typegen script
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 26, 2024
1 parent 5bcc0a2 commit a4abb22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/gen-presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ writeFileSync(
${presetsWithType
.map(
(preset) =>
`import { PresetOptions as ${pascalCase(
`import type { PresetOptions as ${pascalCase(
preset
)}Options } from "./${preset}/preset";`
)
Expand Down
12 changes: 6 additions & 6 deletions src/presets/_types.gen.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Auto-generated using gen-presets script

import { PresetOptions as AwsAmplifyOptions } from "./aws-amplify/preset";
import { PresetOptions as AzureOptions } from "./azure/preset";
import { PresetOptions as CloudflareOptions } from "./cloudflare/preset";
import { PresetOptions as FirebaseOptions } from "./firebase/preset";
import { PresetOptions as NetlifyOptions } from "./netlify/preset";
import { PresetOptions as VercelOptions } from "./vercel/preset";
import type { PresetOptions as AwsAmplifyOptions } from "./aws-amplify/preset";
import type { PresetOptions as AzureOptions } from "./azure/preset";
import type { PresetOptions as CloudflareOptions } from "./cloudflare/preset";
import type { PresetOptions as FirebaseOptions } from "./firebase/preset";
import type { PresetOptions as NetlifyOptions } from "./netlify/preset";
import type { PresetOptions as VercelOptions } from "./vercel/preset";

export interface PresetOptions {
awsAmplify: AwsAmplifyOptions;
Expand Down

0 comments on commit a4abb22

Please sign in to comment.