TypeScript compiler type declarations

I'm using import ts from "npm:typescript" to work with the TypeScript compiler, but how do I get type information? VSCode is telling me "Cannot find module 'npm:typescript' or its corresponding type declarations."
ABAltair 680b7/19/2023
Typescript is Built-In to VS Code! you don't need to import it! If you truly want to use Typescript rather than Deno-Typescript, you'll need to add a tsconfig.json file. Read about that on the Typescript site, not VS Code site.
Not sure I follow. I'm using the typescript package to do my own AST parsing of TS code for static analysis. But the package seemingly has no API docs, so autocomplete would be reaaaallly nice, but I'm not getting anything from the above import
ABAltair 680b7/19/2023
My misunderstanding. I'm not familiar with npm:typescript -- sorry!
thanks tho! ugh, deno just wasn't enabled for the workspace

Looking for more? Join the community!

Recommended Posts
[ignore] configuring botNothing to see here, ignore for now 🙂Reuse Deno.serve for other TCP connectionsHello, As a newcommer to Deno, I wrote a client for NNTP protocol (https://github.com/sntran/deno_ndeno coverage crashI run ``` deno test -A --coverage=tmp/coverageData src ``` then ``` deno coverage --include=src/ tmpIs there a way to copy an element and place it somewhere else?Link: https://stackoverflow.com/questions/76704496/is-there-a-way-to-copy-an-element-and-place-it-sonot sure why this code is erroring```typescript for (const number of genNumbers()) { const result = await fetchPages(number); if (Why doesn't POST response from serveTls support streaming chunks from a ReadableStream?We can POST a ReadableStream to a serveTls server, however when we respond with a ReadableStream theWhen I use npm: node: specifiers how can I specify the version?We know in Deno we can do `import { Client, Pool } from "https://deno.land/x/pg@v0.6.1/mod.ts";` I wFakeTime seems to break async testsI am attempting to use FakeTime similarly to in the Faking time example of https://deno.land/manual@How to serve HTTPS with the Deno.serve() APII used to start a dev server with TLS like so ```const server = Deno.listenTls({ port: 7000, trCustom console.log formatting for a class/objectIs there a way to change the way an object/class is printed in the console? For example, instead ofIs there a way to write to a file by replacing bytes?Like "I am a looong file" > write('Test') > 'Test a looong file'std/http/server: URI too long —how to avoid loading those?Using https://deno.land/std@0.194.0/http/server.ts, is there a way to reject long URIs before they aWorker: TS2304 [ERROR]: Cannot find name 'postMessage'When type-checking a worker script that uses the global `postMessage()` method, `deno check` gives aHow to recover from worker death? It terminates my main program…In the error message handler, I replace the dead worker with a new one, but it kills my program eith