You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**console.diff\_(\*)** - uses deprecated `nativeClone` serialization method, based of JSON.parse(JSON.stringify(...)), left for backward compatibility
118
118
119
+
### Typescript
120
+
121
+
Global Console interface declaration for quick copy/paste when used from typescript:
122
+
123
+
```typescript
124
+
declareglobal {
125
+
interfaceConsole {
126
+
diff(left:unknown, right?:unknown):void;
127
+
diffPush(next:unknown):void;
128
+
diffLeft(left:unknown):void;
129
+
diffRight(right:unknown):void;
130
+
}
131
+
}
132
+
```
133
+
119
134
### Usage basics
120
135
121
136
Historically, left side represents the old state and right side the new state.
0 commit comments