TypeScript/JavaScript import statements

Posted by Joe Enos on April 21, 2021 · 1 min read

In TypeScript, and in JavaScript if you're using modules, you can import code from other places using the import statement. This lets you bring in code from elsewhere in your project, or third party libraries from places like deno.land or NPM.

View code on GitHub