Merge pull request #30677 from DefinitelyTyped/fix-mali-dependents

Fix mali dependents
This commit is contained in:
Nathan Shively-Sanders 2018-11-20 10:13:20 -08:00 committed by GitHub
commit 3278a1163b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 5 deletions

View File

@ -11,7 +11,7 @@ Ember.Route.extend({
});
Ember.Controller.extend({
previousTransition: <Transition | null> null,
previousTransition: null as Transition | null,
actions: {
login() {

View File

@ -10,7 +10,7 @@ Ember.Route.extend({
});
Ember.Controller.extend({
previousTransition: <Ember.Transition | null> null,
previousTransition: null as Ember.Transition | null,
actions: {
login() {

View File

@ -2,7 +2,7 @@
// Project: https://github.com/malijs/mali-compose
// Definitions by: Daniel Byrne <https://github.com/danwbyrne>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
// TypeScript Version: 2.3
import { Context } from "mali";

View File

@ -0,0 +1,8 @@
{
"private": true,
"dependencies": {
"grpc": "^1.16.1",
"mali": "^0.10.2",
"protobufjs": "^6.8.8"
}
}

View File

@ -2,7 +2,7 @@
// Project: https://github.com/malijs/onerror
// Definitions by: Daniel Byrne <https://github.com/danwbyrne>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
// TypeScript Version: 2.3
import { Context } from "mali";

View File

@ -0,0 +1,8 @@
{
"private": true,
"dependencies": {
"grpc": "^1.16.1",
"mali": "^0.10.2",
"protobufjs": "^6.8.8"
}
}

View File

@ -313,7 +313,7 @@ var buffersEqual = require('buffer-equal-constant-time'),
//ssh2 = require('ssh2'),
utils = ssh2.utils;
var pubKey = utils.genPublicKey(<ssh2_streams.ParsedKey>utils.parseKey(fs.readFileSync('user.pub')));
var pubKey = utils.genPublicKey(utils.parseKey(fs.readFileSync('user.pub')) as ssh2_streams.ParsedKey);
new ssh2.Server({
hostKeys: [fs.readFileSync('host.key')]