Skip to content

Conversation

@ikeyan
Copy link

@ikeyan ikeyan commented Aug 24, 2025

  • simplify new Date().getTime() as Date.now() for readability
  • Better typing of jsonpath functions
    • function jom: renamed as jm and removed optional-ness
      • because jom was always used this way: jom(...) ?? []
    • function jm, jo, j: improved typings
    • MuseError.name: added override keyword
      • because of TS4114 from deno check
    • function get_language_map: add runtime type check of match.value
    • fetch_map[].paths[]: replace [0] with .0 to reduce notation fluctuation
  • chore: uninstall lodash-es (unused)
  • Fix set_options and refactor setup.ts
    • Refactoring
      • Change some as to satisfies
      • Less code for better readability
    • Fix set_options
      • Should ignore undefined options
  • Refactor auth.ts
    • Change some as to satisfies
    • Less code for better readability
    • await before return
      • without await, error.stack from promises does not contain the actual origin line
    • Assign faithful type to the response jsons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant