Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES6 模板字符串没有正确翻译 #66

Closed
harttle opened this issue Oct 30, 2019 · 1 comment
Closed

ES6 模板字符串没有正确翻译 #66

harttle opened this issue Oct 30, 2019 · 1 comment
Assignees

Comments

@harttle
Copy link
Contributor

harttle commented Oct 30, 2019

例如:

> cat a.ts
var a = `foo`

> ts2php a.ts 
[compile] a.ts...
<?php
namespace Uajbf;
$a = `foo`;
@l5oo00
Copy link
Contributor

l5oo00 commented Oct 30, 2019

应该是里面没变量的时候,没有处理。

试了下给里面加了个 ${''} 就好使了。

@cxtom cxtom closed this as completed in 5fd8ffa Oct 30, 2019
cxtom added a commit that referenced this issue Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants