Commit b08ce30
committed
fix: correct NativeAddon.parseFiles signature and relax transaction type
parseFiles: fix parameter order/types to match actual call site in parser.ts
(string[], rootDir, dataflow, ast) instead of ({filePath,source}[], dataflow, ast).
transaction: relax parameter types to be compatible with better-sqlite3's
generic Transaction<F>, allowing direct cast without intermediate unknown.1 parent 7465f9b commit b08ce30
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1658 | 1658 | | |
1659 | 1659 | | |
1660 | 1660 | | |
1661 | | - | |
| 1661 | + | |
| 1662 | + | |
1662 | 1663 | | |
1663 | 1664 | | |
1664 | 1665 | | |
| |||
1673 | 1674 | | |
1674 | 1675 | | |
1675 | 1676 | | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
1679 | | - | |
1680 | | - | |
| 1677 | + | |
1681 | 1678 | | |
1682 | 1679 | | |
1683 | 1680 | | |
| |||
0 commit comments