mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 16:17:37 +00:00
updated specific .d.ts files to point to definitely typed file. Also added recommended extensions using vs code's extensions.json
This commit is contained in:
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"eg2.tslint",
|
||||
"streetsidesoftware.code-spell-checker"
|
||||
]
|
||||
}
|
||||
21
package-lock.json
generated
21
package-lock.json
generated
@@ -10,6 +10,12 @@
|
||||
"integrity": "sha1-rALeaOZsAEpht8sW34sds6JUzKk=",
|
||||
"dev": true
|
||||
},
|
||||
"@types/bcrypt-nodejs": {
|
||||
"version": "0.0.30",
|
||||
"resolved": "https://registry.npmjs.org/@types/bcrypt-nodejs/-/bcrypt-nodejs-0.0.30.tgz",
|
||||
"integrity": "sha1-TN2WtJKTs5MhIuS34pVD415rrlg=",
|
||||
"dev": true
|
||||
},
|
||||
"@types/bluebird": {
|
||||
"version": "3.0.37",
|
||||
"resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.0.37.tgz",
|
||||
@@ -34,6 +40,15 @@
|
||||
"@types/node": "7.0.27"
|
||||
}
|
||||
},
|
||||
"@types/compression": {
|
||||
"version": "0.0.33",
|
||||
"resolved": "https://registry.npmjs.org/@types/compression/-/compression-0.0.33.tgz",
|
||||
"integrity": "sha1-ldxzOiM5qoRjgdfxN3eS0lU9wn0=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/express": "4.0.35"
|
||||
}
|
||||
},
|
||||
"@types/connect-mongo": {
|
||||
"version": "0.0.32",
|
||||
"resolved": "https://registry.npmjs.org/@types/connect-mongo/-/connect-mongo-0.0.32.tgz",
|
||||
@@ -6594,9 +6609,9 @@
|
||||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "2.3.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.3.4.tgz",
|
||||
"integrity": "sha1-PTgyGCgjHkNPKHUUlZw3qCtin0I=",
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.4.2.tgz",
|
||||
"integrity": "sha1-+DlfhdRZJ2BnyYiqQYN6j4KHCEQ=",
|
||||
"dev": true
|
||||
},
|
||||
"uglify-js": {
|
||||
|
||||
@@ -63,7 +63,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/async": "^2.0.40",
|
||||
"@types/bcrypt-nodejs": "0.0.30",
|
||||
"@types/body-parser": "^1.16.2",
|
||||
"@types/compression": "0.0.33",
|
||||
"@types/connect-mongo": "0.0.32",
|
||||
"@types/dotenv": "^2.0.20",
|
||||
"@types/errorhandler": "0.0.30",
|
||||
@@ -89,6 +91,6 @@
|
||||
"supertest": "^2.0.1",
|
||||
"ts-jest": "^19.0.8",
|
||||
"tslint": "^5.0.0",
|
||||
"typescript": "^2.2.2"
|
||||
"typescript": "^2.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import * as logger from "morgan";
|
||||
import * as errorHandler from "errorhandler";
|
||||
import * as lusca from "lusca";
|
||||
import * as dotenv from "dotenv";
|
||||
import * as mongo from "connect-mongo"; // (session)
|
||||
import * as mongo from "connect-mongo";
|
||||
import * as flash from "express-flash";
|
||||
import * as path from "path";
|
||||
import * as mongoose from "mongoose";
|
||||
|
||||
16
src/types/bcrypt-nodejs.d.ts
vendored
16
src/types/bcrypt-nodejs.d.ts
vendored
@@ -1,16 +0,0 @@
|
||||
/** Declaration file generated by dts-gen */
|
||||
|
||||
export function compare(data: any, encrypted: any, callback: any): void;
|
||||
|
||||
export function compareSync(data: any, encrypted: any): any;
|
||||
|
||||
export function genSalt(rounds: any, callback: (err: any, salt: any) => any): void;
|
||||
|
||||
export function genSaltSync(rounds: any): any;
|
||||
|
||||
export function getRounds(encrypted: any): any;
|
||||
|
||||
export function hash(data: any, salt: any, progress: any, hash: (err: any, salt: any) => any): void;
|
||||
|
||||
export function hashSync(data: any, salt: any, progress: any): any;
|
||||
|
||||
1
src/types/compression.d.ts
vendored
1
src/types/compression.d.ts
vendored
@@ -1 +0,0 @@
|
||||
declare module "compression";
|
||||
1
src/types/express-status-monitor.d.ts
vendored
1
src/types/express-status-monitor.d.ts
vendored
@@ -1 +0,0 @@
|
||||
declare module "express-status-monitor";
|
||||
Reference in New Issue
Block a user