Skip to content

TypeScript Error on createOperationsGenerator Import After Updating #1460

Description

@Archetipo95

Description

After updating my project to version 1.7.1, I encountered a TypeScript error when running typecheck. The error occurs on the following line:

import { createOperationsGenerator } from '#image';

This code was taken from the official documentation here: Nuxt Image - Custom Provider. The import worked perfectly in version 1.7.0, but it seems to be causing issues in 1.7.1.

Steps to Reproduce

  1. Update the project to version 1.7.1.
  2. Run typecheck on the project.

Expected Behavior

The import statement should work without any TypeScript errors, as it did in version 1.7.0.

Actual Behavior

TypeScript throws an error on the import statement.

Additional Information

  • Version: 1.7.1
  • Previous Working Version: 1.7.0
  • TypeScript Version: 5.5.4
  • Node Version: 20.16

Possible Solution

It seems like there might be a breaking change or an issue with type definitions in the new version. Any guidance or a fix for this issue would be greatly appreciated.


Thank you!

Please let me know if you need any more information to diagnose the issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions