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

@atproto/lex-cli lex-cli causes TypeError #3327

Open
tomo-x7 opened this issue Jan 5, 2025 · 0 comments · May be fixed by #3395
Open

@atproto/lex-cli lex-cli causes TypeError #3327

tomo-x7 opened this issue Jan 5, 2025 · 0 comments · May be fixed by #3395
Labels
bug Something isn't working

Comments

@tomo-x7
Copy link

tomo-x7 commented Jan 5, 2025

Describe the bug

‘lex gen-server‘ generated code containing a backslash(’\") causes TSC to generate a type error.
example:com/atproto/admin/defs.ts

import * as ComAtprotoServerDefs from '..\server\defs'

To Reproduce

Steps to reproduce the behavior:

1.lex gen-server ./src/lexicon ./lexicons/com/atproto/*/*

Expected behavior
example:com/atproto/admin/defs.ts

import * as ComAtprotoServerDefs from '../server/defs'

OR

import * as ComAtprotoServerDefs from '..\\server\\defs'

Details

  • Operating system:win11 pro 24h2
  • Node version:v20.18.1

Additional context

@tomo-x7 tomo-x7 added the bug Something isn't working label Jan 5, 2025
@tomo-x7 tomo-x7 linked a pull request Jan 18, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant