github.com/evanw/esbuild/internal/js_parser.optionsThatSupportStructuralEquality.preserveUnusedImportsTS (field)
4 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L294: preserveUnusedImportsTS bool
js_parser.go#L316: preserveUnusedImportsTS: options.PreserveUnusedImportsTS,
js_parser.go#L11766: keepUnusedImports := p.options.ts.Parse && p.options.preserveUnusedImportsTS &&
js_parser.go#L11853: if p.options.ts.Parse && foundImports && isUnusedInTypeScript && !p.options.preserveUnusedImportsTS {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |