No code completion for imported npm packages
npearson72 opened this issue · comments
Nathan Pearson commented
I'm trying the following:
import express, { Express, Request, Response } from 'npm:express';
But I'm not getting any code completion for these.
Is this just not supported yet, or is there a trick to get it working?
Nathan Pearson commented
Please disregard. I realize now the type declarations must be added like so:
// @deno-types="npm:@types/express@4"
import express, { Express } from 'npm:express@4';