#VSCode integration
Velociraptor support for VSCode adds
code assistance for script configuration files (both yaml
and json
).
#Code assistance in .ts
config files
To get code assistance in TypeScript config files, add a type to the default export:
import { ScriptsConfiguration } from "https://deno.land/x/velociraptor@1.5.0/mod.ts";
export default <ScriptsConfiguration>{
scripts: {
start: "deno run --allow-net server.ts",
test: "deno test --allow-net server_test.ts",
},
};