Skip to content

Commit

Permalink
bugfix TS
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Jun 5, 2022
1 parent c3d575b commit 07d9569
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 17 deletions.
1 change: 1 addition & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="svelte" />
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@tsconfig/svelte": "^3.0.0",
"@types/node": "^17.0.40",
"bulma": "^0.9.2",
"fast-xml-parser": "^4.0.8",
"rollup": "^2.3.4",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0",
Expand All @@ -25,11 +24,12 @@
"svelte-check": "^2.7.2",
"svelte-preprocess": "^4.0.0",
"tslib": "^2.0.0",
"typescript": "^4.1.3"
"typescript": "^4.7.3"
},
"dependencies": {
"apexcharts": "^3.24.0",
"jssha": "^3.2.0",
"fast-xml-parser": "^4.0.8",
"svelte-apexcharts": "^1.0.2"
}
}
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export default {
typescript({
sourceMap: !production,
inlineSources: !production,
target: "es6",
lib: [ "es2019", "dom" ]
target: "esnext",
lib: [ "esnext", "dom" ]
}),

// In dev mode, call `npm run start` once
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class Server {

url: string
status: string
interval_id: Timer,
interval_id: NodeJS.Timer
meetings: meeting[]
audio: number
video: number
Expand Down
12 changes: 1 addition & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",

"include": ["src/**/*"],
"exclude": ["node_modules/*", "__sapper__/*", "public/*"],
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": [ "es2019", "dom" ],
"types": [
"node"
]
}
"exclude": ["node_modules/*", "public/*"],
}

0 comments on commit 07d9569

Please sign in to comment.