update tsconfig stable to import and run
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
"name": "Entity",
|
||||
"version": "1.0.0",
|
||||
"description": "This kind of project was built to present entity table type ORM",
|
||||
"main": "dist/src/index.d.ts",
|
||||
"main": "dist/src/index.js",
|
||||
"types": "dist/src/index.d.ts",
|
||||
"scripts": {
|
||||
"dev": "nodemon",
|
||||
|
||||
21
src/index.ts
21
src/index.ts
@ -5,5 +5,24 @@ import { UserActivity } from "./entity/user_activity";
|
||||
import { UserRefreshToken } from "./entity/user_refresh_token";
|
||||
import { User } from "./entity/users";
|
||||
import { UserRole } from "./entity/users_roles";
|
||||
import { ActivityType } from "./types/action";
|
||||
import { ErrorType, ErrorValidation } from "./types/error";
|
||||
import { Paging } from "./types/paging";
|
||||
import { RoleList } from "./types/role";
|
||||
import { Status } from "./types/status";
|
||||
|
||||
export { User, UserRole, UserActivity, UserRefreshToken, TrialBalance, LNKOLEK, CifAccount };
|
||||
export {
|
||||
User,
|
||||
UserRole,
|
||||
UserActivity,
|
||||
UserRefreshToken,
|
||||
TrialBalance,
|
||||
LNKOLEK,
|
||||
CifAccount,
|
||||
ActivityType,
|
||||
ErrorType,
|
||||
ErrorValidation,
|
||||
Paging,
|
||||
RoleList,
|
||||
Status
|
||||
};
|
||||
@ -17,10 +17,10 @@
|
||||
// "baseUrl": "src/",
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"allowJs": true,
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"declarationMap": true
|
||||
// "allowJs": true,
|
||||
"declaration": true
|
||||
// "emitDeclarationOnly": true,
|
||||
// "declarationMap": true
|
||||
},
|
||||
"include": ["src/swagger-output.json", "src/langs/json/*.json", "./src/**/*.tsx", "./src/**/*.ts"],
|
||||
"exclude": ["node_modules", "test/**/*.ts"]
|
||||
|
||||
Reference in New Issue
Block a user