mirror of
https://github.com/strapi/strapi.git
synced 2026-01-06 12:13:52 +00:00
Change the config key for ts autogenerate
This commit is contained in:
parent
88a771b44c
commit
3e8abc125d
@ -118,10 +118,7 @@ const workerProcess = async ({ appDir, distDir, watchAdmin, polling, isTSProject
|
||||
* Its implementation, configuration and behavior can change in future releases
|
||||
* @experimental
|
||||
*/
|
||||
const shouldGenerateTypeScriptTypes = strapiInstance.config.get(
|
||||
'server.typescript.dev.generate',
|
||||
false
|
||||
);
|
||||
const shouldGenerateTypeScriptTypes = strapiInstance.config.get('typescript.autogenerate', false);
|
||||
|
||||
if (shouldGenerateTypeScriptTypes) {
|
||||
// This is run in an uncaught promise on purpose so that it doesn't block Strapi startup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user