@twin.org/nameof 0.0.1-next.20 → 0.0.1-next.21
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/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/nameof - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.21](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.20...nameof-v0.0.1-next.21) (2025-04-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use shared store mechanism ([#31](https://github.com/twinfoundation/tools/issues/31)) ([d9fe68b](https://github.com/twinfoundation/tools/commit/d9fe68b903d1268c7cb3c64772df5cb78fd63667))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* devDependencies
|
|
15
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.20 to 0.0.1-next.21
|
|
16
|
+
|
|
3
17
|
## [0.0.1-next.20](https://github.com/twinfoundation/tools/compare/nameof-v0.0.1-next.19...nameof-v0.0.1-next.20) (2025-03-28)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# Function: nameof()
|
|
2
2
|
|
|
3
|
-
> **nameof**\<`T`\>(`property
|
|
3
|
+
> **nameof**\<`T`\>(`property?`, `replaceParent?`): `string`
|
|
4
4
|
|
|
5
5
|
Placeholder method which substitutes the type name as a string at runtime.
|
|
6
6
|
|
|
7
7
|
## Type Parameters
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### T
|
|
10
|
+
|
|
11
|
+
`T`
|
|
10
12
|
|
|
11
13
|
## Parameters
|
|
12
14
|
|