Skip to content

Commit 678b802

Browse files
authored
No require with import (#1872)
1 parent 7c64271 commit 678b802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ via relative path to the type definitions at the top of your file.
148148

149149
```js
150150
///<reference path='./node_modules/immutable/dist/immutable.d.ts'/>
151-
import Immutable from require('immutable');
151+
import Immutable from 'immutable';
152152
var map1: Immutable.Map<string, number>;
153153
map1 = Immutable.Map({ a: 1, b: 2, c: 3 });
154154
var map2 = map1.set('b', 50);

0 commit comments

Comments
 (0)