graphql-tag 2.10.2 → 2.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/index.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
+
### v2.10.3 (2020-02-05)
|
|
4
|
+
|
|
5
|
+
* Further adjustments to the TS `index.d.ts` declaration file. <br/>
|
|
6
|
+
[@Guillaumez](https://github.com/Guillaumez) in [#289](https://github.com/apollographql/graphql-tag/pull/289)
|
|
7
|
+
|
|
3
8
|
### v2.10.2 (2020-02-04)
|
|
4
9
|
|
|
5
10
|
* Update/fix the existing TS `index.d.ts` declaration file. <br/>
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare module "graphql-tag" {
|
|
2
2
|
function gql(
|
|
3
|
-
literals: ReadonlyArray<string>,
|
|
3
|
+
literals: ReadonlyArray<string> | Readonly<string>,
|
|
4
4
|
...placeholders: any[]
|
|
5
|
-
): import("graphql").DocumentNode
|
|
5
|
+
): import("graphql").DocumentNode;
|
|
6
6
|
|
|
7
7
|
namespace gql {
|
|
8
8
|
function resetCaches(): void;
|