Fix check:types

This commit is contained in:
Adria Navarro 2024-12-09 11:25:44 +01:00
parent 59e406cb82
commit bea39bc873
4 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,8 @@
{ {
"extends": "../../tsconfig.build.json", "extends": "../../tsconfig.build.json",
"compilerOptions": {
"allowJs": true
},
"include": ["./src/**/*"], "include": ["./src/**/*"],
"exclude": ["node_modules", "**/*.json", "**/*.spec.ts", "**/*.spec.js"] "exclude": ["node_modules", "**/*.json", "**/*.spec.ts", "**/*.spec.js"]
} }

View File

@ -3,7 +3,7 @@ import {
DatabaseName, DatabaseName,
datasourceDescribe, datasourceDescribe,
} from "../../../../integrations/tests/utils" } from "../../../../integrations/tests/utils"
import { Expectations } from "src/tests/utilities/api/base" import { Expectations } from "../../../../tests/utilities/api/base"
import { events } from "@budibase/backend-core" import { events } from "@budibase/backend-core"
import { Knex } from "knex" import { Knex } from "knex"
import { generator } from "@budibase/backend-core/tests" import { generator } from "@budibase/backend-core/tests"

View File

@ -4,7 +4,7 @@ import { AppStatus } from "../../../../db/utils"
import { roles, tenancy, context, db } from "@budibase/backend-core" import { roles, tenancy, context, db } from "@budibase/backend-core"
import env from "../../../../environment" import env from "../../../../environment"
import Nano from "@budibase/nano" import Nano from "@budibase/nano"
import TestConfiguration from "src/tests/utilities/TestConfiguration" import TestConfiguration from "../../../../tests/utilities/TestConfiguration"
class Request { class Request {
appId: any appId: any

View File

@ -1,5 +1,9 @@
{ {
"extends": "../../tsconfig.build.json", "extends": "../../tsconfig.build.json",
"compilerOptions": {
"allowArbitraryExtensions": true,
"isolatedModules": false
},
"include": ["src/**/*"], "include": ["src/**/*"],
"exclude": [ "exclude": [
"node_modules", "node_modules",