We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ba956c + d8cc3ce commit 7979b05Copy full SHA for 7979b05
index.d.ts
@@ -0,0 +1,12 @@
1
+declare module 'gatsby-plugin-intl' {
2
+ import * as gatsby from 'gatsby';
3
+ import React from 'react';
4
+
5
+ export * from 'react-intl';
6
7
+ export class Link<TState> extends gatsby.Link<TState> {}
8
+ export const navigate: typeof gatsby.navigate;
9
+ export const changeLocale: (language: string, to?: string) => void;
10
+ export const IntlContextProvider: React.Provider;
11
+ export const IntlContextConsumer: React.Consumer;
12
+}
0 commit comments