Skip to content

Commit

Permalink
fix(cli): import type as type (#1802)
Browse files Browse the repository at this point in the history
  • Loading branch information
SourceR85 committed Nov 28, 2023
1 parent 04b7cef commit 960aadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/lingui-compile.ts
Expand Up @@ -94,7 +94,7 @@ export async function command(
const typescriptPath = compiledPath.replace(/\.ts?$/, "") + ".d.ts"
fs.writeFileSync(
typescriptPath,
`import { Messages } from '@lingui/core';
`import type { Messages } from '@lingui/core';
declare const messages: Messages;
export { messages };
`
Expand Down

1 comment on commit 960aadb

@vercel
Copy link

@vercel vercel bot commented on 960aadb Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.