Skip to content

Commit

Permalink
fix: Typings and obsolete attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
miyanokomiya committed Nov 8, 2024
1 parent ba2194f commit e492bf1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/composables/connectedLineHandler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,6 @@ describe("newConnectedLineDetouchHandler", () => {

test("should delete connections when a line is modified but connected shapes arn't", () => {
const target = newConnectedLineDetouchHandler({
connectedLinesMap: {
a: [l0, l1],
b: [l0, l1],
},
ctx: {
getShapeComposite: () =>
newShapeComposite({
Expand All @@ -329,10 +325,6 @@ describe("newConnectedLineDetouchHandler", () => {

test("should not delete connections when a line and connected shape are modified", () => {
const target = newConnectedLineDetouchHandler({
connectedLinesMap: {
a: [l0, l1],
b: [l0, l1],
},
ctx: {
getShapeComposite: () =>
newShapeComposite({
Expand Down
1 change: 1 addition & 0 deletions src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference types="vite/client" />
/// <reference types="vite-plugin-pwa/client" />
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"types": ["vite-plugin-pwa/client"]
"noFallthroughCasesInSwitch": true
},
"include": ["src", "src/vitest.d.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down

0 comments on commit e492bf1

Please sign in to comment.