Skip to content

Commit

Permalink
Fix Typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pavi2410 committed Apr 4, 2024
1 parent 92f253d commit a78e2d7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@blockly/block-shareable-procedures": "^4.1.2",
"@blockly/theme-dark": "^6.0.5",
"@blockly/theme-dark": "^6.0.6",
"@fontsource-variable/inter": "^5.0.17",
"@iconify-json/tabler": "^1.1.109",
"@mit-app-inventor/blockly-block-lexical-variables": "^2.0.2",
Expand Down
1 change: 1 addition & 0 deletions src/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import BlocklyComponent from "./components/BlocklyComponent.vue";
import toolbox from "./blocks/toolbox.ts";
import "./blocks/jigsaw.ts";
import * as Blockly from "blockly";
//@ts-ignore
import DarkTheme from '@blockly/theme-dark';
import {generateAppCode} from "./blocks/codegen.ts";
import {onMounted, onUnmounted, ref} from "vue";
Expand Down
2 changes: 1 addition & 1 deletion src/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function deleteProjectAction(projectId: string) {
<ProgressSpinner/>
</template>
<template v-else-if="projects.length">
<DataView :value="projects">
<DataView :value="projects" data-key="id">
<template #list="{items}">
<template v-for="project in items" :key="project.id">
<Card style="width: 300px;">
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const router = createRouter({

let app = createApp(App)
app.use(router);
app.use(PrimeVueStyled);
app.use(PrimeVueStyled as any);
app.use(ToastService);
app.use(DialogService);
app.use(ConfirmationService);
Expand Down
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
// "noUnusedLocals": true,
// "noUnusedParameters": true,
// "noFallthroughCasesInSwitch": true
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,

"types": [
"unplugin-icons/types/vue"
]
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down

0 comments on commit a78e2d7

Please sign in to comment.