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
* @param receiver — The object on which the private member will be set.
836
+
* @param state — One of the following:
837
+
* - A WeakMap used to store a private instance field.
838
+
* - A WeakSet used as an instance brand for private instance methods and accessors.
839
+
* - A function value that should be the undecorated class constructor used to brand check private static fields, methods, and accessors.
840
+
* @param value — The value to set.
841
+
* @param kind — (optional pre TS 4.3, required for TS 4.3+) One of the following values:
842
+
* - undefined — Indicates a private instance field (pre TS 4.3).
843
+
* - "f" — Indicates a private field (instance or static).
844
+
* - "m" — Indicates a private method (instance or static).
845
+
* - "a" — Indicates a private accessor (instance or static).
846
+
* @param f — (optional pre TS 4.3) Depends on the arguments for state and kind:
847
+
* - If kind is "m", this should be the function corresponding to the static or instance method.
848
+
* - If kind is "a", this should be the function corresponding to the setter method, or undefined if the setter was not defined.
849
+
* - If kind is "f" and state is a function, this should be an object holding the value of a static field, or undefined if the static field declaration has not yet been evaluated.
850
+
* Usage:
851
+
* This helper will only ever be used by the compiler in the following ways:
852
+
*
853
+
* Writing to a private instance field (pre TS 4.3):
* @param receiver — The object from which the private member will be read.
899
+
* @param state — One of the following:
900
+
* - A WeakMap used to read a private instance field.
901
+
* - A WeakSet used as an instance brand for private instance methods and accessors.
902
+
* - A function value that should be the undecorated class constructor used to brand check private static fields, methods, and accessors.
903
+
* @param kind — (optional pre TS 4.3, required for TS 4.3+) One of the following values:
904
+
* - undefined — Indicates a private instance field (pre TS 4.3).
905
+
* - "f" — Indicates a private field (instance or static).
906
+
* - "m" — Indicates a private method (instance or static).
907
+
* - "a" — Indicates a private accessor (instance or static).
908
+
* @param f — (optional pre TS 4.3) Depends on the arguments for state and kind:
909
+
* - If kind is "m", this should be the function corresponding to the static or instance method.
910
+
* - If kind is "a", this should be the function corresponding to the getter method, or undefined if the getter was not defined.
911
+
* - If kind is "f" and state is a function, this should be an object holding the value of a static field, or undefined if the static field declaration has not yet been evaluated.
912
+
* Usage:
913
+
* This helper will only ever be used by the compiler in the following ways:
914
+
*
915
+
* Reading from a private instance field (pre TS 4.3):
916
+
* __classPrivateFieldGet(<any>, <WeakMap>)
917
+
*
918
+
* Reading from a private instance field (TS 4.3+):
919
+
* __classPrivateFieldGet(<any>, <WeakMap>, "f")
920
+
*
921
+
* Reading from a private instance get accessor (when defined, TS 4.3+):
0 commit comments