From 6b4042f6cd6e09e5f1f5c991b5b7b22e802ea337 Mon Sep 17 00:00:00 2001 From: Alexander Azarov Date: Thu, 7 Sep 2017 21:22:28 +0300 Subject: [PATCH] Module function template used per @sandersn request --- types/picturefill/index.d.ts | 5 ++--- types/picturefill/tslint.json | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/types/picturefill/index.d.ts b/types/picturefill/index.d.ts index f41e46a3d7..3c12117841 100644 --- a/types/picturefill/index.d.ts +++ b/types/picturefill/index.d.ts @@ -14,6 +14,5 @@ declare namespace Picturefill { declare function picturefill(arg?: Picturefill.EvaluateArg): void; -declare module 'picturefill' { - export = picturefill; -} +export = picturefill; +export as namespace picturefill; diff --git a/types/picturefill/tslint.json b/types/picturefill/tslint.json index e765bc9e16..d88586e5bd 100644 --- a/types/picturefill/tslint.json +++ b/types/picturefill/tslint.json @@ -1,6 +1,3 @@ { - "extends": "dtslint/dt.json", - "rules": { - "no-single-declare-module": false - } + "extends": "dtslint/dt.json" }