Skip to content

Commit

Permalink
Add the TypeScript settings [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Jan 23, 2024
1 parent 3f41121 commit b07a36b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 18 deletions.
17 changes: 0 additions & 17 deletions src/setup_hashlink/Macro.hx

This file was deleted.

1 change: 0 additions & 1 deletion src/setup_hashlink/import.hx

This file was deleted.

12 changes: 12 additions & 0 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../tsconfig",
"exclude": ["cli.ts"],
"include": ["**/*.ts"],
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"isolatedModules": true,
"noEmit": false,
"outDir": "../lib"
}
}
16 changes: 16 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"include": ["src/**/*.ts", "tool/*.js"],
"compilerOptions": {
"allowJs": true,
"baseUrl": ".",
"checkJs": true,
"esModuleInterop": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noEmit": true,
"resolveJsonModule": true,
"paths": {"@cedx/setup-hashlink": ["src"]},
"strict": true,
"target": "ESNext"
}
}

0 comments on commit b07a36b

Please sign in to comment.