We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e9d0a commit 05607f0Copy full SHA for 05607f0
src/typings/seamless-immutable.d.ts
@@ -0,0 +1,16 @@
1
+declare module 'seamless-immutable' {
2
+ interface IImmutableArray {
3
+ asMutable(): any[];
4
+ }
5
+ function Immutable(array: any[]): IImmutableArray;
6
+
7
+ interface IImmutableObject {
8
+ from(object: Object): IImmutableObject;
9
+ merge(obj: Object): IImmutableObject;
10
+ without(key: string | string[], ...restKeys: string[]): IImmutableObject;
11
+ asMutable(): Object;
12
13
+ function Immutable(object: Object): IImmutableObject;
14
15
+ export default Immutable;
16
+}
0 commit comments