@putout/printer 3.5.0 → 3.6.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/ChangeLog +5 -0
- package/lib/tokenize/typescript/index.js +6 -0
- package/package.json +1 -1
package/ChangeLog
CHANGED
|
@@ -119,6 +119,11 @@ module.exports = {
|
|
|
119
119
|
TSBooleanKeyword(path, {write}) {
|
|
120
120
|
write('boolean');
|
|
121
121
|
},
|
|
122
|
+
TSSatisfiesExpression(path, {print}) {
|
|
123
|
+
print('__expression');
|
|
124
|
+
print(' satisfies ');
|
|
125
|
+
print('__typeAnnotation');
|
|
126
|
+
},
|
|
122
127
|
TSUnionType(path, printer) {
|
|
123
128
|
const {traverse, write} = printer;
|
|
124
129
|
|
|
@@ -229,3 +234,4 @@ module.exports = {
|
|
|
229
234
|
print('this');
|
|
230
235
|
},
|
|
231
236
|
};
|
|
237
|
+
|
package/package.json
CHANGED