Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 2 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /