Skip to content

Commit

Permalink
fix(cli): type only import in config (#6765)
Browse files Browse the repository at this point in the history
Co-authored-by: jcesarmobile <[email protected]>
Co-authored-by: Mark Anderson <[email protected]>
  • Loading branch information
3 people authored Jan 22, 2024
1 parent 04a37e1 commit 2b493ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ async function determineGemfileOrCocoapodPath(

function formatConfigTS(extConfig: ExternalConfig): string {
// TODO: <reference> tags
return `import { CapacitorConfig } from '@capacitor/cli';
return `import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = ${formatJSObject(extConfig)};
Expand Down

0 comments on commit 2b493ae

Please sign in to comment.