Fixed import notation

This commit is contained in:
whatasoda 2018-06-07 13:32:13 +09:00
parent 9a3c4002e3
commit c7ff550c12

View File

@ -1,4 +1,4 @@
import * as globToRegExp from 'glob-to-regexp';
import globToRegExp = require('glob-to-regexp');
let re = globToRegExp("p*uck");
re.test("pot luck"); // true
re.test("pluck"); // true