Title: Change currentIndent to protected by iced-wav · Pull Request #1620 · TypeScriptToLua/TypeScriptToLua · GitHub
Open Graph Title: Change currentIndent to protected by iced-wav · Pull Request #1620 · TypeScriptToLua/TypeScriptToLua
X Title: Change currentIndent to protected by iced-wav · Pull Request #1620 · TypeScriptToLua/TypeScriptToLua
Description: Allows overriding pushIndent / popIndent to change indention style in plugins. It's useful for projects that auto-formats processed files (it seems MapleStory Worlds does this). import * as tstl from "typescript-to-lua"; export class Printer extends tstl.LuaPrinter { pushIndent() { this.currentIndent += `\t`; } popIndent() { this.currentIndent = this.currentIndent.slice(1); } }
Open Graph Description: Allows overriding pushIndent / popIndent to change indention style in plugins. It's useful for projects that auto-formats processed files (it seems MapleStory Worlds does this). import * as tst...
X Description: Allows overriding pushIndent / popIndent to change indention style in plugins. It's useful for projects that auto-formats processed files (it seems MapleStory Worlds does this). import * as...
Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1620
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f07c0caa-ae59-93b3-afeb-1e5f2e470157 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A3E0:30581F:3222C92:435FC6C:697302F2 |
| html-safe-nonce | e73cf9e91d7964bd7650fd54498d00654e6ff28cf4e01ecda308063fbeca3191 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0UwOjMwNTgxRjozMjIyQzkyOjQzNUZDNkM6Njk3MzAyRjIiLCJ2aXNpdG9yX2lkIjoiNTQ5NDQ3NTQyMzU3NzQ3Mzc3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6f3898ca0e826ac8dc39589e5d53ab34d1e561924bbd7b6227419ad4a69a03a6 |
| hovercard-subject-tag | pull_request:2337656216 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1620/files |
| twitter:image | https://avatars.githubusercontent.com/u/169352846?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/169352846?s=400&v=4 |
| og:image:alt | Allows overriding pushIndent / popIndent to change indention style in plugins. It's useful for projects that auto-formats processed files (it seems MapleStory Worlds does this). import * as tst... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/TypeScriptToLua/TypeScriptToLua git https://github.com/TypeScriptToLua/TypeScriptToLua.git |
| octolytics-dimension-user_id | 44121206 |
| octolytics-dimension-user_login | TypeScriptToLua |
| octolytics-dimension-repository_id | 115876595 |
| octolytics-dimension-repository_nwo | TypeScriptToLua/TypeScriptToLua |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 115876595 |
| octolytics-dimension-repository_network_root_nwo | TypeScriptToLua/TypeScriptToLua |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width