Merge pull request 'chore: enable node to run the output of tsc without modification' (#2) from importing into main
Reviewed-on: #2
This commit is contained in:
commit
c4bb415b5e
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
*~
|
*~
|
||||||
|
node_modules
|
||||||
|
obj/**/*.js
|
||||||
|
1
obj/package.json
Normal file
1
obj/package.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{ "type": "module" }
|
@ -1,4 +1,4 @@
|
|||||||
import { useTypes } from 'over.ts/src/index';
|
import { useTypes } from 'over.ts/src/index.js';
|
||||||
|
|
||||||
const types = {
|
const types = {
|
||||||
number: (x: unknown): x is number => typeof x === 'number',
|
number: (x: unknown): x is number => typeof x === 'number',
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"moduleResolution": "node"
|
"moduleResolution": "node",
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "obj"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"src/steps/one.ts"
|
"src/steps/one.ts"
|
||||||
|
Loading…
Reference in New Issue
Block a user