From f40e0562abcc25e51453ddbf1a6e7df251760265 Mon Sep 17 00:00:00 2001 From: Roman Golovanov Date: Sun, 3 Apr 2016 00:12:20 +0300 Subject: [PATCH] windows-1251 exports set as default --- windows-1251/windows-1251-tests.ts | 2 +- windows-1251/windows-1251.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }