Skip to content

Commit 3473d6b

Browse files
committed
Ensure engine parameter type exports are not exported in the JS ESM module
1 parent 11670f5 commit 3473d6b

1 file changed

Lines changed: 55 additions & 1 deletion

File tree

mod.ts

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,58 @@ export {
2020
getLocations,
2121
} from "./src/serpapi.ts";
2222

23-
export * from "./src/engines/index.d.ts";
23+
export type {
24+
AppleAppStoreParameters,
25+
AppleProductParameters,
26+
AppleReviewsParameters,
27+
BaiduNewsParameters,
28+
BaiduParameters,
29+
BingImagesParameters,
30+
BingNewsParameters,
31+
BingParameters,
32+
DuckduckgoParameters,
33+
EbayParameters,
34+
EngineMap,
35+
GoogleAboutThisResultParameters,
36+
GoogleAutocompleteParameters,
37+
GoogleEventsParameters,
38+
GoogleFinanceMarketsParameters,
39+
GoogleImmersiveProductParameters,
40+
GoogleJobsListingParameters,
41+
GoogleJobsParameters,
42+
GoogleLensParameters,
43+
GoogleLocalServicesParameters,
44+
GoogleMapsParameters,
45+
GoogleMapsPhotosParameters,
46+
GoogleMapsReviewsParameters,
47+
GoogleParameters,
48+
GooglePlayParameters,
49+
GooglePlayProductParameters,
50+
GoogleProductParameters,
51+
GoogleRelatedQuestionsParameters,
52+
GoogleReverseImageParameters,
53+
GoogleScholarAuthorParameters,
54+
GoogleScholarCiteParameters,
55+
GoogleScholarParameters,
56+
GoogleScholarProfilesParameters,
57+
GoogleTrendsAutocompleteParameters,
58+
GoogleTrendsParameters,
59+
HomeDepotParameters,
60+
HomeDepotProductParameters,
61+
LinkedinParameters,
62+
LinkedinProfileParameters,
63+
NaverParameters,
64+
WalmartParameters,
65+
WalmartProductParameters,
66+
WalmartProductReviewsParameters,
67+
YahooImagesParameters,
68+
YahooParameters,
69+
YahooShoppingParameters,
70+
YahooVideosParameters,
71+
YandexImagesParameters,
72+
YandexParameters,
73+
YandexVideosParameters,
74+
YelpParameters,
75+
YelpReviewsParameters,
76+
YoutubeParameters,
77+
} from "./src/engines/index.d.ts";

0 commit comments

Comments
 (0)