mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Merge pull request #18218 from saeedtabrizi/master
orientjs d.ts update to support version 3.0.0
This commit is contained in:
1500
types/orientjs/index.d.ts
vendored
1500
types/orientjs/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -5,22 +5,9 @@ let dbserver = orientjs({
|
||||
port: 2424,
|
||||
username: 'root',
|
||||
password: 'root'
|
||||
});
|
||||
});
|
||||
let db = dbserver.use({
|
||||
name: 'mytestdb',
|
||||
username: 'root',
|
||||
password: 'root'
|
||||
});
|
||||
|
||||
|
||||
{
|
||||
var manager = new orientjs.Migration.Manager({
|
||||
db: db,
|
||||
dir: __dirname + '/migrations'
|
||||
});
|
||||
|
||||
manager.up(1)
|
||||
.then(function () {
|
||||
console.log('migrated up by one!')
|
||||
});
|
||||
}
|
||||
name: 'mytestdb',
|
||||
username: 'root',
|
||||
password: 'root'
|
||||
});
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
1
types/orientjs/tslint.json
Normal file
1
types/orientjs/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user