Browse Source

ref(js): Drop types/index.tsx file (#76154)

Evan Purkhiser 7 months ago
parent
commit
1c93f3987f
2 changed files with 1 additions and 32 deletions
  1. 1 3
      biome.json
  2. 0 29
      static/app/types/index.tsx

+ 1 - 3
biome.json

@@ -40,9 +40,7 @@
         "noRestrictedImports": {
           "level": "warn",
           "options": {
-            "paths": {
-              "sentry/types": "Please import directly. For example: import type {Organization} from 'sentry/types/organization'"
-            }
+            "paths": {}
           }
         }
       },

+ 0 - 29
static/app/types/index.tsx

@@ -1,29 +0,0 @@
-/**
- * Types entrypoint
- *
- * When writing types put them in a module relevant to the rough area of the UI
- * the types are related to or used.
- *
- * When importing types prefer importing from `sentry/types` when possible for ergonomic and ease of updating and
- * re-organizing types in the future.
- */
-
-export * from './auth';
-export * from './core';
-export * from './debugFiles';
-export * from './event';
-export * from './group';
-export * from './integrations';
-export * from './metrics';
-export * from './notificationActions';
-export * from './onboarding';
-export * from './organization';
-export * from './project';
-export * from './relay';
-export * from './release';
-export * from './stacktrace';
-export * from './system';
-export * from './user';
-export * from './sandbox';
-export * from './sessions';
-export * from './sourceMaps';