github.com/evanw/esbuild/internal/js_parser.optionsThatSupportStructuralEquality.useDefineForClassFields (field)
6 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L295: useDefineForClassFields bool
js_parser.go#L317: useDefineForClassFields: options.UseDefineForClassFields,
js_parser.go#L12697: options.useDefineForClassFields = true
js_parser_lower.go#L1699: !p.options.useDefineForClassFields && !mustLowerPrivate
js_parser_lower.go#L1796: if !prop.IsMethod && (mustLowerField || (p.options.ts.Parse && !p.options.useDefineForClassFields && (!prop.IsStatic || private == nil))) {
js_parser_lower.go#L1850: } else if private == nil && p.options.useDefineForClassFields {
![]() |
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. |