
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
typescript-svelte-plugin
Advanced tools
This plugin provides intellisense for interacting with Svelte files. It is in a very early stage, so expect bugs. So far the plugin supports
Note that these features are only available within TS/JS files. Intellisense within Svelte files is provided by the svelte-language-server.
The plugin comes packaged with the Svelte for VS Code extension. If you are using that one, you don't need to add it manually.
Adding it manually:
npm install --save-dev typescript-svelte-plugin
Then add it to your tsconfig.json
or jsconfig.json
:
{
"compilerOptions": {
...
"plugins": [{
"name": "typescript-svelte-plugin",
// the following options can be set additionally; they are optional; their default values are listed here
"enabled": true, // enables this plugin
"assumeIsSvelteProject": false // if true, skip detection and always assume it's a Svelte project
}]
}
}
Changes to Svelte files are only recognized after they are saved to disk.
FAQs
A TypeScript Plugin providing Svelte intellisense
The npm package typescript-svelte-plugin receives a total of 9,193 weekly downloads. As such, typescript-svelte-plugin popularity was classified as popular.
We found that typescript-svelte-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.