diff --git a/windows-1251/windows-1251-tests.ts b/windows-1251/windows-1251-tests.ts index ec231c6ef..cb26957ae 100644 --- a/windows-1251/windows-1251-tests.ts +++ b/windows-1251/windows-1251-tests.ts @@ -1,6 +1,6 @@ /// -import * as windows1251 from 'windows-1251'; +import windows1251 from 'windows-1251'; var text:string = "some text", byteString:string, decodedText:string; diff --git a/windows-1251/windows-1251.d.ts b/windows-1251/windows-1251.d.ts index 48883637b..a9e9c3656 100644 --- a/windows-1251/windows-1251.d.ts +++ b/windows-1251/windows-1251.d.ts @@ -22,5 +22,5 @@ declare module 'windows-1251' { labels: string[]; } - export = windows1251; + export default windows1251; }