remove namespace

This commit is contained in:
Sam Verschueren
2016-11-26 20:45:21 +01:00
parent b0b45350bc
commit 29f41655e4
2 changed files with 1 additions and 2 deletions

1
mem/index.d.ts vendored
View File

@@ -14,5 +14,4 @@ declare const mem: {
clear<F extends (...args: any[]) => any>(fn: F): void;
};
declare namespace mem { }
export = mem;

View File

@@ -1,4 +1,4 @@
import * as mem from 'mem';
import mem = require('mem');
let i = 0;
const memoized = mem((arg: string) => ++i);