Skip to content

Commit 9c34ef6

Browse files
committed
ts
1 parent 5899744 commit 9c34ef6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

example/web/typescript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ This demo shows how use dbrjs with typescript and intellisense in \<script\>.
22

33
`npm install` or `yarn install`.
44

5-
Run `tsc ./script.ts --lib dom,es2015` to build.
5+
Run `tsc ./script.ts --lib es2015 --lib dom` to build.
66

77
Open `index.html` in browser to run the sample.

example/web/typescript/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "dbrjs-ts",
33
"version": "1.0.0",
44
"dependencies": {
5+
"@types/node": "^13.9.8",
56
"typescript": "^3.8.3"
67
}
78
}

0 commit comments

Comments
 (0)