Skip to content
Snippets Groups Projects
  1. May 10, 2023
  2. May 05, 2023
  3. Apr 23, 2023
  4. Apr 20, 2023
  5. Apr 03, 2023
    • Alberto Gasparin's avatar
      Convert loot-core to TS p1 (#841) · 79ad04dd
      Alberto Gasparin authored
      Part 1 of the conversion. Mostly renaming js to ts and making sure
      things make still sense. Added also handy TS ESLint rules.
      
      In order to support the various .web/.electron/... I ended up adopting
      `index.d.ts` as pattern to share type definition. Let me know if that
      makes sense for you too. Right now the function type definition is
      duplicated, but the solution will be importing from `index.d.ts` and
      using `const fn: FnDef = () => ...` that way we can keep all variants in
      sync from a single type file.
      
      Such rewrite however is better done in another PR otherwise we risk
      confusing git and loosing history (rename + too many changes). Another
      thing that might do in the next PR is convert all files to ESModules, as
      things get confusing between CJS exports, ESM default/named and TS adds
      extra complains.
      Unverified
      79ad04dd
  6. Mar 28, 2023
  7. Mar 24, 2023
  8. Mar 21, 2023
  9. Mar 18, 2023
  10. Feb 10, 2023
  11. Jan 18, 2023
    • Jed Fox's avatar
      Fix a bunch of warnings/errors (#479) · 423df672
      Jed Fox authored
      * Remove invalid ref={} prop
      
      * Fix <rect> height being less than 0
      
      * Improve history.push override
      
      * Filters: add missing key prop
      
      * DateSelect: don’t pass `null` to an input
      
      * Filters: add missing key prop
      
      * EditRule: fix key props
      
      * ScheduleDetails: Fix `for` prop
      
      * usePayees: default `payees` to empty array instead of null (fixes crash)
      
      * safeNumber: better error if `value` is not a number
      
      * ScheduleDescription: fix description for “amount is between”
      
      * ScheduleDetails: add missing `key` prop
      
      * BudgetTitlebar: use ButtonWithLoading
      Unverified
      423df672
  12. Nov 13, 2022
  13. Jul 20, 2022
  14. Apr 29, 2022
Loading