@atlaspack/graph 3.5.10-typescript-80839fbd5.0 → 3.5.10-typescript-c10a7ae7b.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.SharedBuffer = void 0;
7
+ // flow-to-ts helpers
8
+
9
+ // /flow-to-ts helpers
10
+
7
11
  // Copy from @atlaspack/utils to fix: https://github.com/stackblitz/core/issues/1855
8
12
  let SharedBuffer = exports.SharedBuffer = void 0;
9
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/graph",
3
- "version": "3.5.10-typescript-80839fbd5.0",
3
+ "version": "3.5.10-typescript-c10a7ae7b.0",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "publishConfig": {
@@ -20,14 +20,14 @@
20
20
  "check-ts": "tsc --noEmit"
21
21
  },
22
22
  "dependencies": {
23
- "@atlaspack/feature-flags": "2.19.3-typescript-80839fbd5.0",
23
+ "@atlaspack/feature-flags": "2.19.3-typescript-c10a7ae7b.0",
24
24
  "nullthrows": "^1.1.1"
25
25
  },
26
26
  "devDependencies": {
27
- "@atlaspack/babel-register": "2.14.2-typescript-80839fbd5.0",
27
+ "@atlaspack/babel-register": "2.14.2-typescript-c10a7ae7b.0",
28
28
  "benny": "^3.7.1"
29
29
  },
30
30
  "type": "commonjs",
31
31
  "types": "src/index.ts",
32
- "gitHead": "80839fbd5c6d6668c2622849856a4b25601354a8"
32
+ "gitHead": "c10a7ae7b0dc2c79430506d16447ff9bb9966043"
33
33
  }
@@ -1,8 +1,9 @@
1
- import {Flow} from 'flow-to-typescript-codemod';
1
+ // flow-to-ts helpers
2
+ export type Class<T> = new (...args: any[]) => T;
3
+ // /flow-to-ts helpers
4
+
2
5
  // Copy from @atlaspack/utils to fix: https://github.com/stackblitz/core/issues/1855
3
- export let SharedBuffer:
4
- | Flow.Class<ArrayBuffer>
5
- | Flow.Class<SharedArrayBuffer>;
6
+ export let SharedBuffer: Class<ArrayBuffer> | Class<SharedArrayBuffer>;
6
7
 
7
8
  // @ts-expect-error TS2339
8
9
  if (process.browser) {