fix es6 usage in node-irc

This commit is contained in:
phillips1012
2015-05-18 20:45:38 -06:00
parent 333fa1e402
commit 03b65ffa98
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// https://github.com/martynsmith/node-irc/blob/master/example/bot.js
import irc = require('irc');
let bot = new irc.Client('irc.dollyfish.net.nz', 'nodebot', {
var bot = new irc.Client('irc.dollyfish.net.nz', 'nodebot', {
debug: true,
channels: ['#blah', '#test']
});
+1 -1
View File
@@ -868,7 +868,7 @@ declare module 'irc' {
* This contains the set of colors available and a function to wrap
* text in a color.
*/
export const codes: {
export var codes: {
[index: string]: string;
};
}