my-typescript-library-rahul52us 1.0.1 → 1.0.3

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "my-typescript-library-rahul52us",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A reusable TypeScript utility library.",
5
5
  "main": "dist/server.js",
6
- "types": "types/index.d.ts",
6
+ "types": "dist/types/index.d.ts",
7
7
  "scripts": {
8
8
  "test": "jest --watchAll",
9
9
  "build": "tsc",
package/tsconfig.json CHANGED
@@ -14,8 +14,8 @@
14
14
  "~/*": ["./src/*"]
15
15
  },
16
16
  "resolveJsonModule": true,
17
- "declaration": true, // Generate type definition files
18
- "declarationDir": "dist/types" // Specify directory to save type definitions
17
+ "declaration": true,
18
+ "declarationDir": "dist/types"
19
19
  },
20
20
  "include": ["src/**/*"]
21
21
  }
package/types/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  // types/index.d.ts
2
2
  declare module 'my-typescript-library-rahul52us' {
3
- export function setupMongoose(): void;
3
+ export function setupMongoose(): void
4
+ export function createPendingApprovalFunction(): any;
4
5
 
5
6
  export class Auth {}
6
7
  export class User {}