mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-23 13:07:57 +02:00
refactor(plugin-google-gtag, plugin-google-analytics): migrate packages to TS (#5561)
* migration * Move to devDeps * Use type assertion
This commit is contained in:
parent
2ef70cb806
commit
19b27ef73b
13 changed files with 128 additions and 30 deletions
13
packages/docusaurus-plugin-google-analytics/src/plugin-google-analytics.d.ts
vendored
Normal file
13
packages/docusaurus-plugin-google-analytics/src/plugin-google-analytics.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
export interface ThemeConfig {
|
||||
googleAnalytics?: {
|
||||
trackingID: string;
|
||||
anonymizeIP?: boolean;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue