Mercurial > obsidian-remember-file-state
changeset 55:388eb78ef4b7
Typescript compliance.
| author | Ludovic Chabant <ludovic@chabant.com> |
|---|---|
| date | Mon, 02 Oct 2023 18:12:11 -0700 |
| parents | 06504ceb3283 |
| children | 3cc1967cd122 |
| files | src/main.ts |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.ts Mon Oct 02 10:10:09 2023 -0700 +++ b/src/main.ts Mon Oct 02 18:12:11 2023 -0700 @@ -505,8 +505,8 @@ private readonly setupLogFile = function(outLogPath: string) { console.log("RememberFileState: setting up log file: ", outLogPath); - const makeWrapper = function(origFunc) { - return function (data) { + const makeWrapper = function(origFunc: () => void) { + return function () { origFunc.apply(console, arguments); var text: string = "";
