Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve TS compiler errors #192

Closed
wants to merge 2 commits into from
Closed

Resolve TS compiler errors #192

wants to merge 2 commits into from

Commits on May 16, 2024

  1. Resolve TS compiler errors

    For the "wrapper" components, the error was that the `attachments` object did not accept keys of the `string` type, but the value of the `id_ref` variable was of the `string` type. I resolved these errors by replacing the `[]` index operator with the `Object.getOwnPropertyDescriptor` function.
    
    For the error with the top-level `await` statement in the `src/templates/projects_config.ts` file, I bumped the compiler target to `es2017`.
    
    Finally, the remaining errors were all variables with the implicit `any` type, which I made explicit. These could be improved by typing the output of the `PouchDB.Database<T>.get` function.
    markborkum committed May 16, 2024
    Configuration menu
    Copy the full SHA
    3371076 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Merge branch 'main' of https://github.com/pnnl/Quality-Install-Tool i…

    …nto hotfix/tsc_errors
    markborkum committed May 17, 2024
    Configuration menu
    Copy the full SHA
    a666d7d View commit details
    Browse the repository at this point in the history