Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Commit f74e5d9

Browse files
committed
docs: example typo
1 parent 4815975 commit f74e5d9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616
After `yarn add solr-query-io-ts`:
1717

1818
```typescript
19-
import { Q, SolrQueryFromElement, simple } from 'solr-query-io-ts';
19+
import {
20+
Q,
21+
QueryElement,
22+
SolrQueryFromElement,
23+
simple,
24+
} from 'solr-query-io-ts';
2025
import { inspect } from 'util';
2126
import { Right } from 'fp-ts/lib/Either';
22-
import { QueryElement } from '../../src';
2327

2428
// Build up a query using the 'Q' module.
2529
function makeQuery() {

examples/quickstart/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { Q, SolrQueryFromElement, simple } from 'solr-query-io-ts';
1+
import { Q, QueryElement, SolrQueryFromElement, simple } from 'solr-query-io-ts';
22
import { inspect } from 'util';
33
import { Right } from 'fp-ts/lib/Either';
4-
import { QueryElement } from '../../src';
54

65
// Build up a query using the 'Q' module.
76
function makeQuery() {

0 commit comments

Comments
 (0)