@travetto/transformer 4.0.4 → 4.1.1
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/LICENSE +1 -1
- package/package.json +4 -4
- package/src/resolver/builder.ts +0 -1
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/transformer",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Functionality for AST transformations, with transformer registration, and general utils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"directory": "module/transformer"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@travetto/manifest": "^4.0
|
|
28
|
-
"tslib": "^2.6.
|
|
29
|
-
"typescript": "^5.4.
|
|
27
|
+
"@travetto/manifest": "^4.1.0",
|
|
28
|
+
"tslib": "^2.6.3",
|
|
29
|
+
"typescript": "^5.4.5"
|
|
30
30
|
},
|
|
31
31
|
"travetto": {
|
|
32
32
|
"displayName": "Transformation",
|
package/src/resolver/builder.ts
CHANGED
|
@@ -131,7 +131,6 @@ export const TypeBuilder: {
|
|
|
131
131
|
template: {
|
|
132
132
|
build: (resolver, type) => {
|
|
133
133
|
// If we are have a template literal type, we need to make our own type node
|
|
134
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
|
135
134
|
if (type.flags & ts.TypeFlags.TemplateLiteral) {
|
|
136
135
|
const values: TemplateLiteralPart[] = [];
|
|
137
136
|
const texts = 'texts' in type && (typeof type.texts === 'object') && Array.isArray(type.texts) ? type.texts : undefined;
|