Comparing version 2.0.12 to 2.0.13
{ | ||
"name": "internal", | ||
"version": "2.0.12", | ||
"version": "2.0.13", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "**/index.mjs", |
@@ -8,3 +8,3 @@ export default proxy; | ||
declare namespace proxy { | ||
var toValue: <State>(proxy: Proxy<State>) => State; | ||
var toValue: <Value>(proxied: Value) => Value; | ||
} |
@@ -50,4 +50,4 @@ 'use strict'; | ||
// TODO: in the future, we may want to be more clever | ||
proxy.toValue = function(proxy) { | ||
return JSON.parse(JSON.stringify(proxy)) | ||
proxy.toValue = function(proxied) { | ||
return JSON.parse(JSON.stringify(proxied)) | ||
}; | ||
@@ -54,0 +54,0 @@ |
Sorry, the diff of this file is not supported yet
62440