fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #366 from hey-api/fix/better-error-when-ts-missing

authored by

Jordan Shatford and committed by
GitHub
d89553fa 974dd72b

+9
+5
.changeset/tiny-ladybugs-hang.md
··· 1 + --- 2 + "@hey-api/openapi-ts": patch 3 + --- 4 + 5 + fix: throw error when typescript is missing
+4
packages/openapi-ts/src/index.ts
··· 181 181 {} 182 182 ); 183 183 184 + if (!dependencies.typescript) { 185 + throw new Error('🚫 dependency missing - TypeScript must be installed'); 186 + } 187 + 184 188 const config = await initConfig(userConfig, dependencies); 185 189 186 190 const openApi =