Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed May 12, 2024
1 parent c7990c2 commit 3abaaf9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,20 @@
"bootstrap-icons": "^1.10.3",
"mdb-vue-ui-kit": "^4.1.1",
"pinia": "^2.0.28",
"smoothie": "^1.36.1",
"unplugin-vue-macros": "^2.7.9",
"vue": "^3.4.15",
"smoothie": "^1.36.1"
"vue": "^3.4.15"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.11.12",
"@types/node": "^18.19.33",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/tsconfig": "^0.1.3",
"jest": "latest",
"npm-run-all": "^4.1.5",
"sass": "^1.57.1",
"ts-jest": "^29.0.3",
"tsx": "^4.10.1",
"typescript": "~4.9.5",
"vite": "^4.0.0",
"vue-tsc": "^1.0.12"
Expand Down
2 changes: 1 addition & 1 deletion src/components/config-editor/components/widgets/chart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const chart = new SmoothieChart({
labels: {fillStyle: 'rgb(255, 255, 255)'}
});
const interval: Ref<number | undefined> = ref();
const interval: Ref<ReturnType<typeof setTimeout> | undefined> = ref();
const timeSeries: Ref<TimeSeries[]> = ref([]);
const init = (): void => {
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/genetic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { createBaseTypesConfig } from '@/lib/config/types';
import { createDummyDrawer } from '@/lib/drawer/dummy';
import { CompoundsAnalyzer } from '@/lib/analysis/compounds';

console.log(process.argv.slice(2));

const worldConfig = createBaseWorldConfig();
const typesConfig = createBaseTypesConfig();
const initialConfig = create2dBaseInitialConfig();
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@/*": ["./src/*"]
},
"lib": ["es2017", "dom"],
"types": ["unplugin-vue-macros/macros-global"]
"types": ["unplugin-vue-macros/macros-global", "node"]
},

"references": [
Expand Down

0 comments on commit 3abaaf9

Please sign in to comment.