mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
466 B
Diff
18 lines
466 B
Diff
--- old.keyofAndIndexedAccess.js
|
|
+++ new.keyofAndIndexedAccess.js
|
|
@@= skipped -1140, +1140 lines =@@
|
|
a: {
|
|
x: any;
|
|
};
|
|
-}>(obj: T): T["a"]["x"];
|
|
+}>(obj: T): T['a']['x'];
|
|
declare function f82(): void;
|
|
declare function f83<T extends {
|
|
[x: string]: {
|
|
x: any;
|
|
};
|
|
-}, K extends keyof T>(obj: T, key: K): T[K]["x"];
|
|
+}, K extends keyof T>(obj: T, key: K): T[K]['x'];
|
|
declare function f84(): void;
|
|
declare class C1 {
|
|
x: number;
|