Stability-AI / api-interfaces

Interface definitions for API interactions between components
140 stars 78 forks source link

how to use in vue3 + typescript project? #99

Open uniconnector opened 9 months ago

uniconnector commented 9 months ago

Recently integrated stability in the Vue3+typescript project, following the tutorial https://platform.stability.ai/docs/getting-started/typescript-client It has been integrated into the project, but it keeps running with errors as follows: main.ts:42 SyntaxError: The requested module '/src/api/stability/generation/generation_ Pb.js' does not provide an export named 'ArtifactTypeMap' (at helpers. ts: 5:10)

image image