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
TypeScript has updated their api and most of the generated code is marked deprecated
I currently run it like this:
ts-creator input.ts --no-color | \
sed 's/ts.create/ts.factory.create/g'| \
sed 's/createParameter/createParameterDeclaration/g'| \
sed 's/createCall/createCallExpression/g'| \
sed 's/createPropertyAccess/createPropertyAccessExpression/g'| \
sed 's/createReturn/createReturnStatement/g'| \
sed 's/createElementAccess/createElementAccessExpression/g'| \
sed 's/createSpread/createSpreadElement/g'
But I'll bet there are many more changes...
The text was updated successfully, but these errors were encountered:
TypeScript has updated their
api
and most of the generated code is marked deprecatedI currently run it like this:
But I'll bet there are many more changes...
The text was updated successfully, but these errors were encountered: