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

feat(php) - type support #18

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
not only
ttodua committed Nov 6, 2024
commit cc8637ce46213391d546433a57668976e1872e72
2 changes: 1 addition & 1 deletion tests/phpTranspiler.test.ts
Original file line number Diff line number Diff line change
@@ -875,7 +875,7 @@ describe('php transpiling tests', () => {
const output = transpiler.transpilePhp(ts).content;
expect(output).toBe(php);
});
test.only('should transpile file from path', () => {
test('should transpile file from path', () => {
transpiler.setPhpUncamelCaseIdentifiers(true);
const php = readFileSync ('./tests/files/output/php/test1.php', "utf8");
const output = transpiler.transpilePhpByPath('./tests/files/input/test1.ts').content;
Loading