Browse Source

ref: convert vercelIntegration.js to typescript (#55085)

     🌸>  フ
     |  _  _ l
     /` ミ_xノ
     /      |
    /  ヽ   ノ
    │  | | |
 / ̄|   | | |
 | ( ̄ヽ__ヽ_)__)
 \二つ
Michelle Zhang 1 year ago
parent
commit
fe9a158e08
1 changed files with 4 additions and 1 deletions
  1. 4 1
      fixtures/js-stubs/vercelIntegration.tsx

+ 4 - 1
fixtures/js-stubs/vercelIntegration.js → fixtures/js-stubs/vercelIntegration.tsx

@@ -1,4 +1,6 @@
-export function VercelProvider() {
+import {IntegrationProvider} from 'sentry/types';
+
+export function VercelProvider(): IntegrationProvider {
   return {
     setupDialog: {
       url: '/organizations/sentry/integrations/vercel/setup/',
@@ -17,6 +19,7 @@ export function VercelProvider() {
         {
           featureGate: 'integrations-deployment',
           description: 'DEPLOYMENT DESCRIPTION',
+          featureId: 2,
         },
       ],
       author: 'The Sentry Team',