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

Fix pnpm command and first tsx example in typescript.mdx #943

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

jackiedeng0
Copy link
Contributor

  • I have read the Contribution guide
  • (N/A) This PR references an issue (except for typos, broken links, or other minor problems)

Description(required)

pnpm tsc is the correct way to invoke the typescript compiler for pnpm. pnpm dlx tsc yields a "This is not the tsc command you are looking for" error message. Changed the function in the first tsx example to be type Component as imported, rather than returning the unimported JSX.Element type. Also added some semicolons.

Related issues & labels

N/A

`pnpm tsc` is the correct way to invoke the typescript compiler. `pnpm dlx tsc` yields a "This is not the tsc command you are looking for" error message.
Changed the function to be type 'Component' as imported, rather than returning the unimported 'JSX.Element' type. Also added some semicolons.
Copy link

stackblitz bot commented Nov 3, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Nov 3, 2024

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit b351c30
🔍 Latest deploy log https://app.netlify.com/sites/solid-docs/deploys/67276c5bae0a670008b6b928
😎 Deploy Preview https://deploy-preview-943--solid-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@LadyBluenotes LadyBluenotes enabled auto-merge (squash) November 4, 2024 02:25
@LadyBluenotes LadyBluenotes merged commit 6e89077 into solidjs:main Nov 4, 2024
8 checks passed
@jackiedeng0 jackiedeng0 deleted the patch-1 branch November 4, 2024 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants