Skip to content

Commit 80acf74

Browse files
committed
Simplify headings in README
1 parent c521592 commit 80acf74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install --save vue-apollo-smart-ops
1515

1616
## Smart Query Usage
1717

18-
### `createSmartQueryOptionsFunction<TResult, TVariables>(query: DocumentNode, onError?: ApolloOperationErrorHandlerFunction): VueApolloSmartQueryOptionsFunction`
18+
### `createSmartQueryOptionsFunction(query, onError?)`
1919

2020
Returns a generated function which returns a [Vue Apollo Smart Query options object](https://apollo.vuejs.org/api/smart-query.html#options)
2121
for the given query when called.
@@ -72,7 +72,7 @@ class TodoList extends Vue {
7272
}
7373
```
7474

75-
### `@SmartQuery(options: VueApolloSmartQueryOptions)`
75+
### `@SmartQuery(options)`
7676

7777
The `@SmartQuery()` decorator works with your generated options functions to enable the declaration of Smart Queries
7878
within the body of a Vue class component, instead of in the component options. This helps to keep the data property and
@@ -103,7 +103,7 @@ class TodoList extends Vue {
103103

104104
## Mutations Usage
105105

106-
### `createMutationFunction(mutation: DocumentNode, onError?: ): MutationOperationFunction`
106+
### `createMutationFunction(mutation, onError?)`
107107

108108
Returns a generated function which executes a mutation and returns the result when called.
109109

0 commit comments

Comments
 (0)