diff --git a/windows-1251/windows-1251-tests.ts b/windows-1251/windows-1251-tests.ts index cb26957ae..ec231c6ef 100644 --- a/windows-1251/windows-1251-tests.ts +++ b/windows-1251/windows-1251-tests.ts @@ -1,6 +1,6 @@ /// -import windows1251 from 'windows-1251'; +import * as 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 a9e9c3656..48883637b 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 default windows1251; + export = windows1251; }