feat!: type auto-generation (#6657)
Types are now auto-generated by default.
You can opt-out of this behavior by setting:
```ts
buildConfig({
// Rest of config
typescript: {
autoGenerate: false
},
})
```
This commit is contained in:
@@ -160,12 +160,15 @@ export async function buildConfigWithDefaults(
|
||||
secret: 'TEST_SECRET',
|
||||
sharp,
|
||||
telemetry: false,
|
||||
|
||||
...testConfig,
|
||||
|
||||
typescript: {
|
||||
declare: {
|
||||
ignoreTSError: true,
|
||||
},
|
||||
...testConfig?.typescript,
|
||||
},
|
||||
...testConfig,
|
||||
i18n: {
|
||||
supportedLanguages: {
|
||||
de,
|
||||
|
||||
Reference in New Issue
Block a user