Skip to content

Commit 5640c09

Browse files
author
Your Name
committed
typescript course ongoing
1 parent e77372b commit 5640c09

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"homepage": "https://github.com/angular-university/complete-typescript-course#readme",
2626
"devDependencies": {
27+
"@types/es6-promise": "0.0.32",
2728
"@types/express": "^4.0.33",
2829
"@types/lodash": "^4.14.37",
2930
"@types/node": "^6.0.45",

server/queries/findAllCourses.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11

22

33
import {CourseModel} from "../model/model";
4+
import {CourseSummary} from "../../shared/model/course-summary";
45

5-
export function findAllCourses() {
6+
export function findAllCourses() : Promise<CourseSummary[]> {
67
return CourseModel.findAll({
78
order: ['seqNo']
89
})

0 commit comments

Comments
 (0)