Skip to content

Commit

Permalink
2023-09-18T11:51:59.347Z
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Sep 18, 2023
1 parent 60b236b commit b8fa06a
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "117-const-enums.explainer",
"version": "1.0.0",
"description": "",
"scripts": {
"dev": "nodemon --exec \"tsc && node dist/index.mjs\" ./src/index.mts"
},
"keywords": [],
"author": "Matt Pocock",
"devDependencies": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const hello = () => {
console.log("Hello!");
};

export default hello;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import esModule from "./esm-module.mjs";

const main = async () => {
esModule();
};

main();
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "dist",
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
"verbatimModuleSyntax": true
},
}

0 comments on commit b8fa06a

Please sign in to comment.