immutable
Advanced tools
Comparing version 5.0.0-beta.3 to 5.0.0-beta.4
{ | ||
"name": "immutable", | ||
"version": "5.0.0-beta.3", | ||
"version": "5.0.0-beta.4", | ||
"description": "Immutable Data Collections", | ||
@@ -19,4 +19,3 @@ "license": "MIT", | ||
"main": "dist/immutable.js", | ||
"module": "dist/immutable.es.js", | ||
"sideEffects": false, | ||
"module": "dist/es/Immutable.js", | ||
"types": "dist/immutable.d.ts", | ||
@@ -23,0 +22,0 @@ "files": [ |
@@ -155,5 +155,5 @@ # Immutable collections for JavaScript | ||
///<reference path='./node_modules/immutable/dist/immutable.d.ts'/> | ||
import Immutable from 'immutable'; | ||
var map1: Immutable.Map<string, number>; | ||
map1 = Immutable.Map({ a: 1, b: 2, c: 3 }); | ||
import { Map } from 'immutable'; | ||
var map1: Map<string, number>; | ||
map1 = Map({ a: 1, b: 2, c: 3 }); | ||
var map2 = map1.set('b', 50); | ||
@@ -160,0 +160,0 @@ map1.get('b'); // 2 |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
786446
83
18189