Skip to content

Commit 59c133b

Browse files
committed
fix type annotations
1 parent 83b0967 commit 59c133b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/App.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function App() {
2828

2929
/**
3030
* A simple SQL read-eval-print-loop
31-
* @param {import("sql.js").Database} db
31+
* @param {{db: import("sql.js").Database}} props
3232
*/
3333
function SQLRepl({ db }) {
3434
const [error, setError] = useState(null);
@@ -72,6 +72,7 @@ function SQLRepl({ db }) {
7272

7373
/**
7474
* Renders a single value of the array returned by db.exec(...) as a table
75+
* @param {import("sql.js").QueryExecResult} props
7576
*/
7677
function ResultsTable({ columns, values }) {
7778
return (

0 commit comments

Comments
 (0)