Import problem of typescript

Why is it written like this in ts

import * as Path from "path"

es is

import Path from "path"
Mar.26,2021

reference mdn, are both legal.
https://developer.mozilla.org.

Menu