Skip to content

Commit cf25a4b

Browse files
author
d3x0r
committed
Add some typescript declaration builds
1 parent 10e6265 commit cf25a4b

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

apps/dbUtil/makeTypes.bat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
call ..\makeTypes.bat db.mjs

apps/http-ws/makeTypes.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
call ..\makeTypes.bat ./protocol.mjs
2+
call ..\makeTypes.bat ./server.mjs

apps/makeAllTypes.bat

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
cd %~dp0db-util
2+
call makeTypes.bat
3+
cd %~dp0http-ws
4+
call makeTypes.bat
5+

apps/makeTypes.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tsc %1 --target esnext --declaration --allowJs --emitDeclarationOnly
2+
:npx -p typescript tsc src/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir types

0 commit comments

Comments
 (0)