windows-1251 exports set as default

This commit is contained in:
Roman Golovanov
2016-04-03 00:12:20 +03:00
parent bc04f6857c
commit f40e0562ab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/// <reference path='windows-1251.d.ts' />
import * as windows1251 from 'windows-1251';
import windows1251 from 'windows-1251';
var text:string = "some text", byteString:string, decodedText:string;
+1 -1
View File
@@ -22,5 +22,5 @@ declare module 'windows-1251' {
labels: string[];
}
export = windows1251;
export default windows1251;
}