In the documentation at https://www.typescriptlang.org/docs/home.html, the examples use the form such as:
import * as lib from "lib"
In the templates for a Typescript project in Visual Studio, examples are:
import express = require("express");
How different are the two? What does the require
function do? Is there a definitive specification for the import
command?