refactor(plugin-google-gtag, plugin-google-analytics): migrate packages to TS (#5561)

* migration

* Move to devDeps

* Use type assertion
This commit is contained in:
Joshua Chen 2021-09-22 17:36:04 +08:00 committed by GitHub
parent 2ef70cb806
commit 19b27ef73b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 128 additions and 30 deletions

View 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;
};
}