@final-hill/decorator-contracts 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/decorator.d.mts +7 -0
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/name.d.mts +3 -4
- package/package.json +1 -1
package/dist/name.d.mts
CHANGED
|
@@ -60,10 +60,9 @@ export declare const contractName: unique symbol;
|
|
|
60
60
|
* declaration is read on the way to reporting it, so a throwing accessor must not
|
|
61
61
|
* replace the failure with its own error. The constructor name is what is left.
|
|
62
62
|
*
|
|
63
|
-
* @param Class - The class to name, passed as the constructor itself (`Cart`).
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* is the wrapper's.
|
|
63
|
+
* @param Class - The class to name, passed as the constructor itself (`Cart`).
|
|
64
|
+
* `instance.constructor` is the same object and may be passed instead, but a
|
|
65
|
+
* caller that already holds the class needs no instance to name it.
|
|
67
66
|
* @internal
|
|
68
67
|
* Exported only because the contract modules and the proxy live in their own files
|
|
69
68
|
* and import it. Read {@link contractName} instead; it is the published surface.
|