Skip to content

Commit

Permalink
Work around for evanw/esbuild#3189
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Jun 23, 2023
1 parent d09236a commit c6062d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"i18next": "^20.3.2",
"monkey-around": "^2.3",
"obsidian": "1.2.8",
"to-use": "^0.2.1"
"to-use": "^0.3.0"
}
}
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions src/layout/window-manager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, View, WorkspaceContainer, WorkspaceLeaf } from "../obsidian";
import { Context, Service, use, onLoad, safeRemoveChild } from "../services";
import { Context, Service, onLoad, safeRemoveChild } from "../services";
import { defer } from "../defer";
import { around } from "monkey-around";
import { isLeafAttached } from "./walk";
Expand Down Expand Up @@ -42,7 +42,7 @@ export class PerWindowComponent extends Component {
super();
}

[use.factory](): WindowManager<this> {
"use.factory"() {
return new WindowManager(this.constructor as PWCFactory<this>);
}

Expand Down

0 comments on commit c6062d5

Please sign in to comment.