mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
Fixed import notation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user