import * as filenamify from 'filenamify';

filenamify('<foo/bar>');
// => 'foo!bar'

filenamify('foo:"bar"', {replacement: '🐴'});
// => 'foo🐴bar'

filenamify.path('/some/!path');
// => '/some/path'

import filenamify = require('filenamify');

filenamify('<foo/bar>');
// => 'foo!bar'

filenamify('foo:"bar"', {replacement: '🐴'});
// => 'foo🐴bar'

filenamify.path('/some/!path');
// => '/some/path'

Update import expression in filenamify-test.ts
Update import expression in filenamify-test.ts

See here for the futher information : https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19550#discussion_r137169189
