Commit 831563c
authored
Follow up from #427 to prevent the following type issue introduced on
`v0.2.39`:
<img width="1328" alt="image"
src="https://github.com/mlc-ai/web-llm/assets/418083/3b2d028f-71af-4e77-a779-e4176225b92a">
This issue fails type-checking
[[reference](https://github.com/felladrin/MiniSearch/actions/runs/9298738476/job/25591213310?pr=356)]
and forces users to define the `logLevel` config.
But in fact, `logLevel` already has a default value and was intended to
be an optional parameter.
This PR fixes it.
1 parent e720f2a commit 831563c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments