Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Keavon committed Sep 28, 2024
1 parent 398caa5 commit 194cace
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
10 changes: 7 additions & 3 deletions frontend/src/components/window/workspace/Panel.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<script lang="ts" context="module">
import Document from "@graphite/components/panels/Document.svelte";
import Layers from "@graphite/components/panels/Layers.svelte";
import Properties from "@graphite/components/panels/Properties.svelte";
const PANEL_COMPONENTS = {
Document: (await import("@graphite/components/panels/Document.svelte")).default,
Layers: (await import("@graphite/components/panels/Layers.svelte")).default,
Properties: (await import("@graphite/components/panels/Properties.svelte")).default,
Document,
Layers,
Properties,
};
type PanelType = keyof typeof PANEL_COMPONENTS;
</script>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/wasm-communication/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ export abstract class DocumentDetails {

readonly isSaved!: boolean;

readonly id!: bigint | string;
// This field must be provided by the subclass implementation
// readonly id!: bigint | string;

get displayName(): string {
return `${this.name}${this.isSaved ? "" : "*"}`;
Expand Down
6 changes: 3 additions & 3 deletions frontend/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "esnext",
"target": "ESNext",
"module": "ESNext",
"strict": true,
"importHelpers": true,
"moduleResolution": "node",
Expand All @@ -18,7 +18,7 @@
"@graphite-frontend/*": ["./*"],
"@graphite/*": ["src/*"]
},
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
"lib": ["ESNext", "DOM", "DOM.Iterable", "ScriptHost"]
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.svelte", "*.ts", "*.js", "*.cjs"],
"exclude": ["node_modules"],
Expand Down
6 changes: 3 additions & 3 deletions website/other/bezier-rs-demos/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "esnext",
"target": "ESNext",
"module": "ESNext",
"strict": true,
"importHelpers": true,
"moduleResolution": "node",
Expand All @@ -14,7 +14,7 @@
"paths": {
"@/*": ["src/*"]
},
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
"lib": ["ESNext", "DOM", "DOM.Iterable", "ScriptHost"]
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "*.ts", "*.js", "*.cjs"],
"exclude": ["node_modules"],
Expand Down

0 comments on commit 194cace

Please sign in to comment.