Skip to content

Commit

Permalink
style: remove some code-style warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Weingärtner authored and eXaminator committed Nov 12, 2023
1 parent 749dd1e commit fc04030
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/KankaBrowser/KankaBrowserApplication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export default class KankaBrowserApplication extends Application {
await super._render(force, options);
}

public async close(options?: any) {
public async close(options?: unknown) {
await super.close(options);
this.#entities = undefined;
this.#campaigns = undefined;
Expand Down
2 changes: 2 additions & 0 deletions src/foundry/hooks/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default function init(): void {
makeDefault: false,
});

// eslint-disable-next-line @typescript-eslint/no-explicit-any
DocumentSheetConfig.registerSheet(JournalEntryPage, moduleConfig.name, DefaultPageSheet as any, {
types: pageTypes.filter(type => ![`${moduleConfig.id}.post`].includes(type)),
makeDefault: false,
Expand Down Expand Up @@ -117,6 +118,7 @@ if (import.meta.hot) {
.values(ui.windows)
// eslint-disable-next-line @typescript-eslint/no-explicit-any
.filter((app: any) => app.constructor?.name === 'KankaJournalApplication')
// eslint-disable-next-line @typescript-eslint/no-explicit-any
.forEach(async (app: any) => {
app.object._onSheetChange({ sheetOpen: true });
});
Expand Down

0 comments on commit fc04030

Please sign in to comment.