UNPKG
tsdx
Version:
latest (0.14.1)
next (0.10.4)
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.3
0.9.2
0.9.1
0.9.0
0.8.0
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.7-0
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
Zero-config TypeScript package development
github.com/formium/tsdx
formium/tsdx
tsdx
/
templates
/
basic
/
src
/
index.ts
7 lines
(6 loc)
•
143 B
text/typescript
View Raw
1
2
3
4
5
6
7
export
const
sum
= (
a
:
number
,
b
:
number
) => {
if
(
'development'
=== process.
env
.
NODE_ENV
) {
console
.
log
(
'boop'
); }
return
a + b; };