Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
https://github.com/Microsoft/TypeScript/issues/10866
Browse files Browse the repository at this point in the history
  • Loading branch information
LouieK22 committed Feb 12, 2019
1 parent 0009ca0 commit 53e4ac1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
"@types/uuid": "^3.4.4",
"tslint": "^5.11.0"
}
}
}
6 changes: 3 additions & 3 deletions src/routes/api.ts → src/routes/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as express from "express";

import device from "./api/device";
import login from "./api/login";
import logout from "./api/logout";
import device from "./device";
import login from "./login";
import logout from "./logout";

const router = express.Router();

Expand Down
8 changes: 4 additions & 4 deletions src/routes/dashboard.ts → src/routes/dashboard/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as express from "express";

import { AuthorizationType } from "../middleware/authentication";
import asyncWrapper from "../util/asyncWrapper";
import { AuthorizationType } from "../../middleware/authentication";
import asyncWrapper from "../../util/asyncWrapper";

import login from "./dashboard/login";
import home from "./dashboard/home";
import login from "./login";
import home from "./home";

const router = express.Router();

Expand Down
10 changes: 3 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@
"sourceMap": true,
"target": "es2018",
"outDir": "./dist",
"baseUrl": "./src",
"strict": true,
"strictNullChecks": true
"strictNullChecks": true,
"noImplicitAny": true,
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
"dist"
"src/**/*"
]
}

0 comments on commit 53e4ac1

Please sign in to comment.