mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 19:45:48 +08:00
import require instead of es6 import
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as ls from 'local-storage';
|
||||
import ls = require('local-storage');
|
||||
|
||||
ls('foo');
|
||||
ls('foo', 'bar');
|
||||
|
||||
Reference in New Issue
Block a user