chore: fix translation tsconfig

This commit is contained in:
Jarrod Flesch
2024-01-10 14:45:04 -05:00
parent 87bb6e9995
commit fb0c000b54
2 changed files with 3 additions and 4 deletions

View File

@@ -23,8 +23,7 @@
"@payloadcms/next/layouts/*": ["../next/src/layouts/*"],
"@payloadcms/next/pages/*": ["../next/src/pages/*"],
"@payloadcms/next/routes": ["../next/src/routes"],
"@payloadcms/next/utilities/*": ["../next/src/utilities/*"],
"@payloadcms/next/translations/*": ["../next/src/translations/*"]
"@payloadcms/next/utilities/*": ["../next/src/utilities/*"]
}
},
"include": [
@@ -36,5 +35,5 @@
],
"exclude": ["node_modules"],
"composite": true, // Make sure typescript knows that this module depends on their references
"references": [{ "path": "../payload" }, { "path": "../next" }]
"references": [{ "path": "../payload" }, { "path": "../next" }, { "path": "../translations" }]
}

View File

@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
// "composite": true, // Make sure typescript knows that this module depends on their references
"composite": true, // Make sure typescript knows that this module depends on their references
"noEmit": false /* Do not emit outputs. */,
"emitDeclarationOnly": true,
"esModuleInterop": true,