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

Added directive for intellisense to find sst module in infra files #771

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

NicoPowers
Copy link

When using VSCode or similar IDE's with Intellisense, they have trouble finding sst inside the infra folder and there is no way to import sst as a module.

By placing /// <reference path="../.sst/platform/config.d.ts" /> at the top of the index.ts in the infra folder, this allows intellisense find sst for those files.

@Paliago
Copy link

Paliago commented Jul 30, 2024

I can confirm this solves it for me as well.

@jayair
Copy link
Contributor

jayair commented Aug 2, 2024

Can you open an issue for this, I'll ask the team to test it.

@fwang fwang requested a review from thdxr October 16, 2024 13:21
@fwang fwang removed the request for review from thdxr October 16, 2024 13:21
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.

4 participants