@parcel/types-internal 2.15.1 → 2.15.2-canary.3460

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.
package/lib/index.d.ts CHANGED
@@ -837,6 +837,9 @@ export interface MutableAsset extends BaseAsset {
837
837
  /** Sets the asset's source map. */
838
838
  setMap(arg0: SourceMap | null | undefined): void;
839
839
  setEnvironment(opts: EnvironmentOptions): void;
840
+
841
+ /** Creates a child asset of this asset. */
842
+ createChildAsset(result?: TransformerResult): MutableAsset;
840
843
  }
841
844
 
842
845
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/types-internal",
3
- "version": "2.15.1",
3
+ "version": "2.15.2-canary.3460+5b71920db",
4
4
  "license": "MIT",
5
5
  "main": "src/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -16,10 +16,10 @@
16
16
  "check-ts": "tsc --noEmit lib/index.d.ts"
17
17
  },
18
18
  "dependencies": {
19
- "@parcel/diagnostic": "2.15.1",
20
- "@parcel/feature-flags": "2.15.1",
19
+ "@parcel/diagnostic": "2.0.0-canary.1837+5b71920db",
20
+ "@parcel/feature-flags": "2.15.2-canary.3460+5b71920db",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.11.0"
23
23
  },
24
- "gitHead": "6a9fd4c67355d7b00eba32b73346f88ee766220b"
24
+ "gitHead": "5b71920db7b10f9e0dbbf9beca70d3aee7acd3b9"
25
25
  }
package/src/index.js CHANGED
@@ -880,6 +880,8 @@ export interface MutableAsset extends BaseAsset {
880
880
  /** Sets the asset's source map. */
881
881
  setMap(?SourceMap): void;
882
882
  setEnvironment(opts: EnvironmentOptions): void;
883
+ /** Creates a child asset of this asset. */
884
+ createChildAsset(result?: TransformerResult): MutableAsset;
883
885
  }
884
886
 
885
887
  /**