qcobjects 2.4.99 → 2.4.104-ts

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/types.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ declare module "QCObjects" {
2
+ export function __qcobjects__(_top: any): void;
3
+ const _top: any;
4
+ let _default: {
5
+ __qcobjects__: (_top: any) => void;
6
+ global: any;
7
+ } | {
8
+ default: {
9
+ __qcobjects__: (_top: any) => void;
10
+ global: any;
11
+ };
12
+ __qcobjects__: (_top: any) => void;
13
+ global: any;
14
+ };
15
+ export { _default as default, _top as global };
16
+ }
17
+ declare module "index" {
18
+ import QCObjects from "QCObjects";
19
+ export default QCObjects;
20
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "extends": "qcobjects-tsconfig/tsconfig.d.json",
3
+ "compilerOptions": {
4
+ "strict": true, // Enables all strict type-checking options
5
+ "noImplicitAny": true,
6
+ "strictNullChecks": true,
7
+ "strictFunctionTypes": true,
8
+ "strictPropertyInitialization": true,
9
+ "noImplicitThis": true,
10
+ "alwaysStrict": true,
11
+ "outFile": "src/types.d.ts",
12
+ "typeRoots": ["types", "node_modules/@types", "@typescript-eslint"],
13
+ "allowSyntheticDefaultImports":true,
14
+ "esModuleInterop": true
15
+ },
16
+ "include": ["src/**/*.ts", "src/static/js/packages/components/*.d.ts"],
17
+ "exclude": ["src/**/*.spec.js", "src/*.js", "src/*.d.ts", "src/**/*.d.ts"]
18
+ }
package/tsconfig.json CHANGED
@@ -1,18 +1,12 @@
1
1
  {
2
+ "extends": ["qcobjects-tsconfig/tsconfig.json"],
2
3
  "compilerOptions": {
3
- "target": "es2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
4
- "lib": ["ES2021"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
5
- "module": "commonjs", /* Specify what module code is generated. */
6
4
  "rootDir": "src", /* Specify the root folder within your source files. */
7
- "resolveJsonModule": true, /* Enable importing .json files. */
8
5
  "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
9
- "outDir": "build", /* Specify an output folder for all emitted files. */
10
- "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
11
- "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
12
- "strict": true, /* Enable all strict type-checking options. */
13
- "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
14
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
6
+ "outDir": "build", /* Specify an output folder for all emitted files. */
7
+ "allowSyntheticDefaultImports":true,
8
+ "esModuleInterop": true
15
9
  },
16
- "include": ["src/**/*.ts"],
17
- "exclude": ["src/**/*.spec.ts", "src/*.js"]
10
+ "include": ["src/**/*.ts", "src/**/*.mts", "src/**/*.cts"],
11
+ "exclude": ["src/**/*.spec.js", "src/*.js"]
18
12
  }
File without changes
File without changes